rtl8192ee: btcoexist: remove undefined Kconfig macros
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 26 May 2014 14:45:47 +0000 (16:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:33:03 +0000 (14:33 -0700)
There are references to four undefined Kconfig macros in the code.
Commit 8542373dccd2 ("Staging: rtl8812ae: remove undefined Kconfig
macros") removed identical references from another staging driver, but
they resurfaced in rtl8192ee. Remove these again as the checks for them
still will always evaluate to false.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192ee/btcoexist/halbtcoutsrc.c

index 9757f138a37f0b0f40d9957cc2fd9fd920cb7d88..2d9fc24b1e21d255ea8c61cfe9aa3996e5dea38a 100644 (file)
@@ -736,17 +736,7 @@ bool exhalbtc92e_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;
This page took 0.029124 seconds and 5 git commands to generate.