staging: rtl8192e: unused Remove dot11PowerSaveMode and RT_PS_MODE
authorMike McCormack <mikem@ring3k.org>
Thu, 3 Mar 2011 13:47:41 +0000 (22:47 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 21:31:46 +0000 (13:31 -0800)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/ieee80211/ieee80211.h
drivers/staging/rtl8192e/r8192E_core.c

index 7fb2dc6d9683cd6f22fd8c3051c6d03a752a9c8c..75aa69917ccd4a31bc2fa959219f1ec66ae9061e 100644 (file)
@@ -1730,14 +1730,6 @@ typedef enum _Fsync_State{
        SW_Fsync
 }Fsync_State;
 
-// Power save mode configured.
-typedef        enum _RT_PS_MODE
-{
-       eActive,        // Active/Continuous access.
-       eMaxPs,         // Max power save mode.
-       eFastPs         // Fast power save mode.
-}RT_PS_MODE;
-
 typedef struct _IbssParms{
        u16   atimWin;
 }IbssParms, *PIbssParms;
@@ -1896,7 +1888,6 @@ struct ieee80211_device {
        bool ieee_up;
        //added by amy
        bool bSupportRemoteWakeUp;
-       RT_PS_MODE      dot11PowerSaveMode; // Power save mode configured.
        bool actscanning;
        bool beinretry;
        bool is_set_key;
index 6ac556ce783a2571ac278b30c7c234e6e638cb0d..597c12de71d01a7cd9123d27af28b0b96de18bba 100644 (file)
@@ -1953,7 +1953,6 @@ static void rtl8192_init_priv_variable(struct r8192_priv *priv)
        priv->ieee80211->check_nic_enough_desc = check_nic_enough_desc;
        priv->ieee80211->tx_headroom = sizeof(TX_FWINFO_8190PCI);
        priv->ieee80211->qos_support = 1;
-       priv->ieee80211->dot11PowerSaveMode = 0;
        priv->ieee80211->SetBWModeHandler = rtl8192_SetBWMode;
        priv->ieee80211->handle_assoc_response = rtl8192_handle_assoc_response;
        priv->ieee80211->handle_beacon = rtl8192_handle_beacon;