staging: wilc1000: remove unused elements in 'wilc_priv' struct
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 25 Apr 2018 17:18:21 +0000 (22:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Apr 2018 07:43:04 +0000 (09:43 +0200)
Cleanup patch to remove unused element from 'wilc_priv' structure.

Below elements are removed in 'wilc_priv' structure:

struct WILC_WFI_packet *ppool;
struct WILC_WFI_packet *rx_queue; /* List of incoming packets */
int rx_int_enabled;
int tx_packetlen;
u8 *tx_packetdata;
struct napi_struct napi;

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.h

index 0a914684fa8408b70e88a346084b58dc6ed471f8..e6489fad92e17310d53a4dc2d7fddb0bde35d5ed 100644 (file)
@@ -108,15 +108,9 @@ struct wilc_priv {
        struct net_device_stats stats;
        u8 monitor_flag;
        int status;
-       struct WILC_WFI_packet *ppool;
-       struct WILC_WFI_packet *rx_queue; /* List of incoming packets */
-       int rx_int_enabled;
-       int tx_packetlen;
-       u8 *tx_packetdata;
        struct sk_buff *skb;
        spinlock_t lock;
        struct net_device *dev;
-       struct napi_struct napi;
        struct host_if_drv *hif_drv;
        struct host_if_pmkid_attr pmkid_list;
        struct wilc_wfi_stats netstats;