summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-10-30 16:12:03 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 21:51:50 (GMT)
commit82f8c2cd469211e6ae7e0a3c51eb93ab78f2427c (patch)
treede8898adfcbb114698e889a6953ddfa9c1ac7e2b
parent912b209f50dea532c25f2178e20024700258949b (diff)
downloadlinux-82f8c2cd469211e6ae7e0a3c51eb93ab78f2427c.tar.xz
Staging: w35und: remove unused ->ShutDowned member from struct LOCAL_PARA
It's not actually read by anyone so we might as well remove it. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/winbond/localpara.h1
-rw-r--r--drivers/staging/winbond/wbusb.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/winbond/localpara.h b/drivers/staging/winbond/localpara.h
index a308ac2..607bb05 100644
--- a/drivers/staging/winbond/localpara.h
+++ b/drivers/staging/winbond/localpara.h
@@ -149,7 +149,6 @@ typedef struct LOCAL_PARA
//// power-save variables
u8 iPowerSaveMode; // 0 indicates it is on, 1 indicates it is off
- u8 ShutDowned;
u8 ATIMmode;
u8 ExcludeUnencrypted;
diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c
index 673875d..0f70101 100644
--- a/drivers/staging/winbond/wbusb.c
+++ b/drivers/staging/winbond/wbusb.c
@@ -220,9 +220,6 @@ static unsigned char wb35_hw_init(struct ieee80211_hw *hw)
pHwData = &priv->sHwData;
hal_set_phy_type( pHwData, RF_DECIDE_BY_INF );
- // Initial Software variable
- priv->sLocalPara.ShutDowned = false;
-
//added by ws for wep key error detection
priv->sLocalPara.bWepKeyError= false;
priv->sLocalPara.bToSelfPacketReceived = false;
@@ -424,9 +421,6 @@ void packet_came(struct ieee80211_hw *hw, char *pRxBufferAddress, int PacketSize
static void wb35_hw_halt(struct wbsoft_priv *adapter)
{
- //---------------------
- adapter->sLocalPara.ShutDowned = true;
-
Mds_Destroy( adapter );
// Turn off Rx and Tx hardware ability