diff options
author | Glen Lee | 2015-09-16 11:53:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-17 06:48:10 +0200 |
commit | 2602b2bf419c3e5a9fad74359bb553cb4f977953 (patch) | |
tree | c8d7e6eb7aa21b9d7fcb07c1fc1ed672e417daee | |
parent | staging: wilc1000: replace INLINE with static inline (diff) | |
download | kernel-qcow2-linux-2602b2bf419c3e5a9fad74359bb553cb4f977953.tar.gz kernel-qcow2-linux-2602b2bf419c3e5a9fad74359bb553cb4f977953.tar.xz kernel-qcow2-linux-2602b2bf419c3e5a9fad74359bb553cb4f977953.zip |
staging: wicl1000: remove function pointer wlan_handle_rx_que
The function pointer wlan_handle_rx_que is not called anywhere. Delete
wlan_handle_rx_que and it's assignment code.
But the function wilc_wlan_handle_rxq in assignment code is used. So leave it.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 1 | ||||
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_if.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 788e706f1add..4c25179c2fec 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -2126,7 +2126,6 @@ int wilc_wlan_init(wilc_wlan_inp_t *inp, wilc_wlan_oup_t *oup) oup->wlan_stop = wilc_wlan_stop; oup->wlan_add_to_tx_que = wilc_wlan_txq_add_net_pkt; oup->wlan_handle_tx_que = wilc_wlan_handle_txq; - oup->wlan_handle_rx_que = wilc_wlan_handle_rxq; oup->wlan_handle_rx_isr = wilc_handle_isr; oup->wlan_cleanup = wilc_wlan_cleanup; oup->wlan_cfg_set = wilc_wlan_cfg_set; diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index bccfcf9daf5a..cc92dc968c81 100644 --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -167,7 +167,6 @@ typedef struct { int (*wlan_stop)(void); int (*wlan_add_to_tx_que)(void *, u8 *, u32, wilc_tx_complete_func_t); int (*wlan_handle_tx_que)(u32 *); - void (*wlan_handle_rx_que)(void); void (*wlan_handle_rx_isr)(void); void (*wlan_cleanup)(void); int (*wlan_cfg_set)(int, u32, u8 *, u32, int, u32); |