staging: w35und: Remove unused fields from struct wbsoft_priv
authorPekka Enberg <penberg@kernel.org>
Sun, 19 Sep 2010 09:28:43 +0000 (12:28 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 17:44:56 +0000 (10:44 -0700)
This patch removes unused fields from "struct wbsoft_priv".

Cc: Lars Lindley <lindley@coyote.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/core.h

index 333b19735734ec7ba3b9e8b402825766666d01aa..2b87a0007319514fab692a40bb420dacd5ab3098 100644 (file)
@@ -42,9 +42,6 @@ struct mlme_frame {
 #define WB_MAX_LINK_NAME_LEN 40
 
 struct wbsoft_priv {
-       u32 adapterIndex;       /* 20060703.4 Add for using padapterContext
-                                                       global adapter point */
-
        struct wb_local_para sLocalPara;        /* Myself connected
                                                        parameters */
 
@@ -59,10 +56,6 @@ struct wbsoft_priv {
        u32 RxByteCount;
        u32 TxByteCount;
 
-       struct sk_buff *packet_return;
-       s32 netif_state_stop;   /* 1: stop  0: normal */
-       struct iw_statistics iw_stats;
-
        u8 LinkName[WB_MAX_LINK_NAME_LEN];
 
        bool enabled;