diff options
author | Tony Cho <tony.cho@atmel.com> | 2015-09-07 19:09:30 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:44 -0700 |
commit | 700db05372bf44eb44a6e0bbae749ef0d538b192 (patch) | |
tree | 0fa46de9cae22445a742b1df99654657a01ffa0f /drivers/staging/wilc1000 | |
parent | 1f39e10872c0ca161146e253d3efa18b59d5d9a5 (diff) | |
download | linux-700db05372bf44eb44a6e0bbae749ef0d538b192.tar.bz2 |
staging: wilc1000: remove unused preprocessor definition
This patch removes a preprocessor definition, SWITCH_LOG_TERMINAL,
which is not used. Enabling this definition affects the performance.
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r-- | drivers/staging/wilc1000/linux_wlan.c | 6 | ||||
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_cfg.c | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 4187c7c8c6d0..59c9b441abf3 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -926,12 +926,6 @@ static int linux_wlan_init_test_config(struct net_device *dev, linux_wlan_t *p_n if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_11N_PROT_MECH, c_val, 1, 0, 0)) goto _fail_; -#ifdef SWITCH_LOG_TERMINAL - c_val[0] = AUTO_PROT; - if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_LOGTerminal_Switch, c_val, 1, 0, 0)) - goto _fail_; -#endif - c_val[0] = ACTIVE_SCAN; if (!g_linux_wlan->oup.wlan_cfg_set(0, WID_SCAN_TYPE, c_val, 1, 0, 0)) goto _fail_; diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.c b/drivers/staging/wilc1000/wilc_wlan_cfg.c index d5037992deb0..21ed14d8bfe0 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -534,14 +534,6 @@ static int wilc_wlan_cfg_indicate_rx(uint8_t *frame, int size, wilc_cfg_rsp_t *r GnrlAsyncInfoReceived(frame - 4, size + 4); break; - case 'L': -#ifndef SWITCH_LOG_TERMINAL - PRINT_ER("Unexpected firmware log message received\n"); -#else - PRINT_D(FIRM_DBG, "\nFIRMWARE LOGS :\n<<\n%s\n>>\n", frame); - break; - -#endif #if 1 case 'N': NetworkInfoReceived(frame - 4, size + 4); |