rtlwifi: rtl8192cu: remove check for CONFIG_AUTOSUSPEND
authorPaul Bolle <pebolle@tiscali.nl>
Sat, 24 May 2014 05:46:06 +0000 (07:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 May 2014 17:10:39 +0000 (13:10 -0400)
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>
drivers/net/wireless/rtlwifi/rtl8192cu/sw.c

index c61311084d7e46615af164674337049bade62c20..361435f8608a125ca4cfdfd38b1bfa6212215ec9 100644 (file)
@@ -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,
 };