summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000
diff options
context:
space:
mode:
authorChaehyun Lim2015-08-10 04:33:12 +0200
committerGreg Kroah-Hartman2015-08-15 03:39:52 +0200
commit7d2b212f88c369b11fc7c791d02d915ad0121d58 (patch)
tree6bcd7bde67abc6a8bb215a80e2460e681d349052 /drivers/staging/wilc1000
parentstaging: comedi: me4000: use bitwise AND instead of logical (diff)
downloadkernel-qcow2-linux-7d2b212f88c369b11fc7c791d02d915ad0121d58.tar.gz
kernel-qcow2-linux-7d2b212f88c369b11fc7c791d02d915ad0121d58.tar.xz
kernel-qcow2-linux-7d2b212f88c369b11fc7c791d02d915ad0121d58.zip
staging: wilc1000: remove commented code
Remove commented code that is not used. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.c1
-rw-r--r--drivers/staging/wilc1000/host_interface.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 72ff7d42377e..a88b796fb6c9 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -1332,7 +1332,6 @@ void ProcessStrWid(char *pcPacket, s32 *ps32PktLen,
if (g_oper_mode == SET_CFG) {
/* Message Length */
- /* u16MsgLen = WILC_strlen(pu8val); */
u16MsgLen = (u16)s32ValueSize;
/* Length */
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index cc549c2c5213..31790a3d0f36 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -5159,9 +5159,7 @@ s32 host_int_set_RSNAConfigPSKPassPhrase(WILC_WFIDrvHandle hWFIDrv, u8 *pu8PassP
{
s32 s32Error = WILC_SUCCESS;
tstrWID strWID;
- /* tstrWILC_WFIDrv * pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv; */
- /* u8 u8Psklength = WILC_strlen(pu8PassPhrase); */
/*validating psk length*/
if ((u8Psklength > 7) && (u8Psklength < 65)) {
strWID.u16WIDid = (u16)WID_11I_PSK;