Commit 82f8c2cd authored by Pekka Enberg's avatar Pekka Enberg Committed by Greg Kroah-Hartman

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: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 912b209f
...@@ -149,7 +149,6 @@ typedef struct LOCAL_PARA ...@@ -149,7 +149,6 @@ typedef struct LOCAL_PARA
//// power-save variables //// power-save variables
u8 iPowerSaveMode; // 0 indicates it is on, 1 indicates it is off u8 iPowerSaveMode; // 0 indicates it is on, 1 indicates it is off
u8 ShutDowned;
u8 ATIMmode; u8 ATIMmode;
u8 ExcludeUnencrypted; u8 ExcludeUnencrypted;
......
...@@ -220,9 +220,6 @@ static unsigned char wb35_hw_init(struct ieee80211_hw *hw) ...@@ -220,9 +220,6 @@ static unsigned char wb35_hw_init(struct ieee80211_hw *hw)
pHwData = &priv->sHwData; pHwData = &priv->sHwData;
hal_set_phy_type( pHwData, RF_DECIDE_BY_INF ); hal_set_phy_type( pHwData, RF_DECIDE_BY_INF );
// Initial Software variable
priv->sLocalPara.ShutDowned = false;
//added by ws for wep key error detection //added by ws for wep key error detection
priv->sLocalPara.bWepKeyError= false; priv->sLocalPara.bWepKeyError= false;
priv->sLocalPara.bToSelfPacketReceived = false; priv->sLocalPara.bToSelfPacketReceived = false;
...@@ -424,9 +421,6 @@ void packet_came(struct ieee80211_hw *hw, char *pRxBufferAddress, int PacketSize ...@@ -424,9 +421,6 @@ void packet_came(struct ieee80211_hw *hw, char *pRxBufferAddress, int PacketSize
static void wb35_hw_halt(struct wbsoft_priv *adapter) static void wb35_hw_halt(struct wbsoft_priv *adapter)
{ {
//---------------------
adapter->sLocalPara.ShutDowned = true;
Mds_Destroy( adapter ); Mds_Destroy( adapter );
// Turn off Rx and Tx hardware ability // Turn off Rx and Tx hardware ability
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment