summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8821ae
diff options
context:
space:
mode:
authorPaul Bolle2014-02-09 16:13:26 +0100
committerGreg Kroah-Hartman2014-02-11 21:22:31 +0100
commit8542373dccd2f5dd4dac0a552e2a22fc4402dbe9 (patch)
treeea37fe451fd2de2721c4ad626a2b8ef13b60ef95 /drivers/staging/rtl8821ae
parentstaging: r8188eu: default to "y" in Kconfig (diff)
downloadkernel-qcow2-linux-8542373dccd2f5dd4dac0a552e2a22fc4402dbe9.tar.gz
kernel-qcow2-linux-8542373dccd2f5dd4dac0a552e2a22fc4402dbe9.tar.xz
kernel-qcow2-linux-8542373dccd2f5dd4dac0a552e2a22fc4402dbe9.zip
Staging: rtl8812ae: remove undefined Kconfig macros
There are references to four undefined Kconfig macros in the code. Remove these as the checks for them will always evaluate to false. There are additional cleanups possible now, but I'll gladly leave those to people that are actually familiar with the code. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8821ae')
-rw-r--r--drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c b/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c
index 9d9fa4d7575d..1152fc8683a0 100644
--- a/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c
+++ b/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c
@@ -732,17 +732,7 @@ bool exhalbtc_initlize_variables(struct rtl_priv *adapter)
else
btcoexist->binded = true;
-#if ( defined(CONFIG_PCI_HCI))
- btcoexist->chip_interface = BTC_INTF_PCI;
-#elif ( defined(CONFIG_USB_HCI))
- btcoexist->chip_interface = BTC_INTF_USB;
-#elif ( defined(CONFIG_SDIO_HCI))
- btcoexist->chip_interface = BTC_INTF_SDIO;
-#elif ( defined(CONFIG_GSPI_HCI))
- btcoexist->chip_interface = BTC_INTF_GSPI;
-#else
btcoexist->chip_interface = BTC_INTF_UNKNOWN;
-#endif
if (NULL == btcoexist->adapter)
btcoexist->adapter = adapter;