staging: wicl1000: remove function pointer wlan_handle_rx_que
authorGlen Lee <glen.lee@atmel.com>
Wed, 16 Sep 2015 09:53:26 +0000 (18:53 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2015 04:48:10 +0000 (21:48 -0700)
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>
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan_if.h

index 788e706f1adda9f9f4d84b5788cc5b35c530d4b4..4c25179c2feceed5e900313cf834686857637cbf 100644 (file)
@@ -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;
index bccfcf9daf5ab7edaaa534d3598f574f56d320ad..cc92dc968c811b7b5067564d5e51af586c5b355b 100644 (file)
@@ -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);
This page took 0.026399 seconds and 5 git commands to generate.