mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d3ad7f5788
commit
331d80c53b
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue