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/wilc_wlan_cfg.c | |
parent | 8efba0e0d01368d5ff490776853057b4913c0472 (diff) |
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/wilc_wlan_cfg.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_cfg.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.c b/drivers/staging/wilc1000/wilc_wlan_cfg.c index 9631b18c0bb7..3cffe55b3a93 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -374,11 +374,6 @@ static int wilc_wlan_parse_info_frame(uint8_t *info, int size) int type = WILC_CFG_RSP_STATUS; wid = info[0] | (info[1] << 8); -#if 0 -#ifdef BIG_ENDIAN - wid = BYTE_SWAP(wid); -#endif -#endif len = info[2]; PRINT_INFO(GENERIC_DBG, "Status Len = %d Id= %d\n", len, wid); @@ -390,27 +385,6 @@ static int wilc_wlan_parse_info_frame(uint8_t *info, int size) return type; } -#if 0 -static int wilc_wlan_parse_network_frame(uint8_t *info, int size) -{ - wilc_mac_cfg_t *priv = (wilc_mac_cfg_t *)&g_mac; - uint32_t wid, len; - - wid = info[0] | (info[1] << 8); - len = info[2] | (info[3] << 8); - - /** - * Review: this message is only for AP mode. - * TBD - **/ - if (wid == WID_NETWORK_INFO) { /* not send by the firmware */ - - } - - return; -} -#endif - /******************************************** * * Configuration Exported Functions |