diff options
author | Mike McCormack <mikem@ring3k.org> | 2011-03-03 08:47:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-07 16:31:46 -0500 |
commit | 153775d94899503f5f66baaa9751a43c74d4f371 (patch) | |
tree | 1780e0915ea3777e405badf782d9fd9a7cf859c9 | |
parent | 73aaa501567043f6dca6be662a87fb08388df40f (diff) |
staging: rtl8192e: unused Remove dot11PowerSaveMode and RT_PS_MODE
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/rtl8192e/ieee80211/ieee80211.h | 9 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_core.c | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211.h b/drivers/staging/rtl8192e/ieee80211/ieee80211.h index 7fb2dc6d9683..75aa69917ccd 100644 --- a/drivers/staging/rtl8192e/ieee80211/ieee80211.h +++ b/drivers/staging/rtl8192e/ieee80211/ieee80211.h | |||
@@ -1730,14 +1730,6 @@ typedef enum _Fsync_State{ | |||
1730 | SW_Fsync | 1730 | SW_Fsync |
1731 | }Fsync_State; | 1731 | }Fsync_State; |
1732 | 1732 | ||
1733 | // Power save mode configured. | ||
1734 | typedef enum _RT_PS_MODE | ||
1735 | { | ||
1736 | eActive, // Active/Continuous access. | ||
1737 | eMaxPs, // Max power save mode. | ||
1738 | eFastPs // Fast power save mode. | ||
1739 | }RT_PS_MODE; | ||
1740 | |||
1741 | typedef struct _IbssParms{ | 1733 | typedef struct _IbssParms{ |
1742 | u16 atimWin; | 1734 | u16 atimWin; |
1743 | }IbssParms, *PIbssParms; | 1735 | }IbssParms, *PIbssParms; |
@@ -1896,7 +1888,6 @@ struct ieee80211_device { | |||
1896 | bool ieee_up; | 1888 | bool ieee_up; |
1897 | //added by amy | 1889 | //added by amy |
1898 | bool bSupportRemoteWakeUp; | 1890 | bool bSupportRemoteWakeUp; |
1899 | RT_PS_MODE dot11PowerSaveMode; // Power save mode configured. | ||
1900 | bool actscanning; | 1891 | bool actscanning; |
1901 | bool beinretry; | 1892 | bool beinretry; |
1902 | bool is_set_key; | 1893 | bool is_set_key; |
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index 6ac556ce783a..597c12de71d0 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c | |||
@@ -1953,7 +1953,6 @@ static void rtl8192_init_priv_variable(struct r8192_priv *priv) | |||
1953 | priv->ieee80211->check_nic_enough_desc = check_nic_enough_desc; | 1953 | priv->ieee80211->check_nic_enough_desc = check_nic_enough_desc; |
1954 | priv->ieee80211->tx_headroom = sizeof(TX_FWINFO_8190PCI); | 1954 | priv->ieee80211->tx_headroom = sizeof(TX_FWINFO_8190PCI); |
1955 | priv->ieee80211->qos_support = 1; | 1955 | priv->ieee80211->qos_support = 1; |
1956 | priv->ieee80211->dot11PowerSaveMode = 0; | ||
1957 | priv->ieee80211->SetBWModeHandler = rtl8192_SetBWMode; | 1956 | priv->ieee80211->SetBWModeHandler = rtl8192_SetBWMode; |
1958 | priv->ieee80211->handle_assoc_response = rtl8192_handle_assoc_response; | 1957 | priv->ieee80211->handle_assoc_response = rtl8192_handle_assoc_response; |
1959 | priv->ieee80211->handle_beacon = rtl8192_handle_beacon; | 1958 | priv->ieee80211->handle_beacon = rtl8192_handle_beacon; |