diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-06-18 14:46:05 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-18 20:20:57 -0700 |
commit | 61500fbd77eee4a27c59e3c930f03f5191db9da1 (patch) | |
tree | 3d8a352fb6973ca4fbd665ca8aa64a03ae92707f /drivers/staging/wilc1000/coreconfigurator.c | |
parent | 8efba0e0d01368d5ff490776853057b4913c0472 (diff) | |
download | op-kernel-dev-61500fbd77eee4a27c59e3c930f03f5191db9da1.zip op-kernel-dev-61500fbd77eee4a27c59e3c930f03f5191db9da1.tar.gz |
staging: wilc1000: remove commented code
Remove the commented codes using #if 0.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r-- | drivers/staging/wilc1000/coreconfigurator.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 523c863..ed6ac45 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -210,9 +210,6 @@ static tstrWID gastrWIDs[] = { {WID_REKEY_POLICY, WID_CHAR}, {WID_REKEY_PERIOD, WID_INT}, {WID_REKEY_PACKET_COUNT, WID_INT}, -#if 0 - {WID_WEP_KEY_VALUE0, WID_STR}, -#endif {WID_11I_PSK, WID_STR}, {WID_1X_KEY, WID_STR}, {WID_1X_SERV_ADDR, WID_IP}, @@ -1619,26 +1616,6 @@ s32 further_process_response(u8 *resp, break; case WID_BIN_DATA: - #if 0 - /* FILE *fp_bin = NULL; */ - u8 first_bin_wid = 1; - if (first_bin_wid) { - /* fp_bin = fopen("wid_response.bin","wb"); */ - first_bin_wid = 0; - } else { - /* fp_bin = fopen("wid_response.bin","ab"); */ - } - - if (/*fp_bin == NULL*/ 0) { - PRINT_ER("Error: Could not open wid_response.bin for write\n"); - return -2; - } - - /* fwrite(resp + idx, cfg_len, 1, fp_bin); */ - - /* fclose(fp_bin); */ - #endif - if (pstrWIDresult->s32ValueSize >= cfg_len) { WILC_memcpy(pstrWIDresult->ps8WidVal, resp + idx, cfg_len); pstrWIDresult->s32ValueSize = cfg_len; @@ -1884,13 +1861,6 @@ s32 CreateConfigPacket(s8 *ps8packet, s32 *ps32PacketLength, pstrWIDs[u32idx].ps8WidVal, pstrWIDs[u32idx].s32ValueSize); break; - #if 0 - case WID_ADR: - ProcessAdrWid(ps8packet, ps32PacketLength, &pstrWIDs[u32idx], - pstrWIDs[u32idx].ps8WidVal); - break; - - #endif case WID_IP: ProcessIPwid(ps8packet, ps32PacketLength, &pstrWIDs[u32idx], pstrWIDs[u32idx].ps8WidVal); |