Skip to content

Commit

Permalink
Staging: w35und: remove unused ->ShutDowned member from struct LOCAL_…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 912b209 commit 82f8c2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion drivers/staging/winbond/localpara.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
6 changes: 0 additions & 6 deletions drivers/staging/winbond/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 82f8c2c

Please sign in to comment.