Staging: w35und: remove unused ->ShutDowned member from struct LOCAL_PARA
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 30 Oct 2008 16:12:03 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:51:50 +0000 (13:51 -0800)
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>
drivers/staging/winbond/localpara.h
drivers/staging/winbond/wbusb.c

index a308ac276bac798aad64f1de63ab0c172552252e..607bb0526cf8a200bb344799200badf7587e9716 100644 (file)
@@ -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;
 
index 673875d30ca3badf2402100d745078247ce51313..0f70101603ccb9304b004b11de908bd9206b2991 100644 (file)
@@ -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