staging: r8188eu: Remove dead code
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 13 Feb 2014 12:00:18 +0000 (13:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 17:18:39 +0000 (09:18 -0800)
There are a few lines in this driver that depend on a macro
CONFIG_BT_COEXIST. But there's no Kconfig symbol of that name nor is
there a preprocessor define for that string. So remove these lines.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_debug.h
drivers/staging/rtl8188eu/include/rtw_pwrctrl.h

index 1cdc07dcb87c7cf71795b7fdabefbac5a88ec4fe..ae05141f5ddf97fbc5b1da65072b06d6de98085e 100644 (file)
@@ -263,14 +263,4 @@ int proc_get_rssi_disp(char *page, char **start,
 int proc_set_rssi_disp(struct file *file, const char __user *buffer,
                       unsigned long count, void *data);
 
-#ifdef CONFIG_BT_COEXIST
-int proc_get_btcoex_dbg(char *page, char **start,
-                       off_t offset, int count,
-                       int *eof, void *data);
-
-int proc_set_btcoex_dbg(struct file *file, const char *buffer,
-                       signed long count, void *data);
-
-#endif /* CONFIG_BT_COEXIST */
-
 #endif /* __RTW_DEBUG_H__ */
index 4a0e9ff3d479e96e271975c611648fe43e71f83b..9a42859d612b1d3d0686e83e622dd2a9243a2057 100644 (file)
@@ -206,10 +206,6 @@ struct pwrctrl_priv {
 
        u8              bInternalAutoSuspend;
        u8              bInSuspend;
-#ifdef CONFIG_BT_COEXIST
-       u8              bAutoResume;
-       u8              autopm_cnt;
-#endif
        u8              bSupportRemoteWakeup;
        struct timer_list pwr_state_check_timer;
        int             pwr_state_check_interval;