diff options
| author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-10-02 10:41:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-02 13:03:42 +0300 |
| commit | 331d80c53b2d2d11d526da5bed117119e7bd57bc (patch) | |
| tree | 46001cae4f346c945b3027a23e416bff794f1982 | |
| parent | d3ad7f5788efc03e41a31756a01c0718324d366c (diff) | |
| download | linux-331d80c53b2d2d11d526da5bed117119e7bd57bc.tar.xz | |
staging: wilc1000: remove commented codes
This patch removes commented codes that is not used in this driver.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/wilc1000/linux_wlan.c | 3 | ||||
| -rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 | ||||
| -rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 4 | ||||
| -rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_if.h | 3 |
4 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index c4915d3f3b8c..50631c500e2c 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -1879,9 +1879,6 @@ static void __exit exit_wilc_driver(void) } } - /* WILC_WFI_deinit_mon_interface(); */ - - /* if(g_linux_wlan->open_ifcs==0) */ { #ifndef WILC_SDIO PRINT_D(INIT_DBG, "SPI unregsiter...\n"); diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h index 81c1ad376600..f2943b2dc603 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h @@ -183,7 +183,6 @@ typedef struct { struct task_struct *txq_thread; unsigned char eth_src_address[NUM_CONCURRENT_IFC][6]; - /* unsigned char eth_dst_address[6]; */ const struct firmware *wilc_firmware; diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 4ca872129f8c..da529105f417 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -142,7 +142,6 @@ static void wilc_wlan_txq_remove(struct txq_entry_t *tqe) { wilc_wlan_dev_t *p = (wilc_wlan_dev_t *)&g_wlan; - /* unsigned long flags; */ if (tqe == p->txq_head) { p->txq_head = tqe->next; @@ -849,8 +848,6 @@ int wilc_wlan_handle_txq(u32 *pu32TxqCount) i = 0; sum = 0; do { - /* if ((tqe != NULL) && (i < (8)) && */ - /* if ((tqe != NULL) && (i < (WILC_VMM_TBL_SIZE-1)) && */ if ((tqe != NULL) && (i < (WILC_VMM_TBL_SIZE - 1)) /* reserve last entry to 0 */) { if (tqe->type == WILC_CFG_PKT) { @@ -973,7 +970,6 @@ int wilc_wlan_handle_txq(u32 *pu32TxqCount) * Get the entries **/ entries = ((reg >> 3) & 0x3f); - /* entries = ((reg>>3)&0x2f); */ break; } else { release_bus(RELEASE_ALLOW_SLEEP); diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index 38d220620608..327ea039c946 100644 --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -10,9 +10,6 @@ #ifndef WILC_WLAN_IF_H #define WILC_WLAN_IF_H -/* #define MEMORY_STATIC */ -/* #define USE_OLD_SPI_SW */ - #include <linux/semaphore.h> #include "linux_wlan_common.h" |
