summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-05-24 07:46:06 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-05-29 13:10:39 -0400
commita3b9d55350d6e54f4b4ed80eeda7a1b8f27c1db9 (patch)
treed643d8c3ae08b0a4ebc1e594fb3abcf8d30f65ca /drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
parent6e6f1fa60f512e4ddc1e5442eaeda53b34c005b3 (diff)
downloadlinux-a3b9d55350d6e54f4b4ed80eeda7a1b8f27c1db9.tar.gz
linux-a3b9d55350d6e54f4b4ed80eeda7a1b8f27c1db9.tar.bz2
linux-a3b9d55350d6e54f4b4ed80eeda7a1b8f27c1db9.zip
rtlwifi: rtl8192cu: remove check for CONFIG_AUTOSUSPEND
A check for CONFIG_AUTOSUSPEND was included in this driver when it was added in v2.6.39. But that Kconfig symbol doesn't exist. Remove that check and the single line it hides. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/sw.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192cu/sw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
index c61311084d7e..361435f8608a 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
@@ -395,9 +395,6 @@ static struct usb_driver rtl8192cu_driver = {
/* .resume = rtl_usb_resume, */
/* .reset_resume = rtl8192c_resume, */
#endif /* CONFIG_PM */
-#ifdef CONFIG_AUTOSUSPEND
- .supports_autosuspend = 1,
-#endif
.disable_hub_initiated_lpm = 1,
};