Skip to contentSkip to conversation

Staging: rtl8812ae: remove undefined Kconfig macros

PATCH New Paul Bolle 1 participant 1 message Feb 9, 2014 Staging

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 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.

---
Untested (that is, tested with "git grep" only).

 drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c | 10 ----------
 1 file changed, 10 deletions(-)
drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c +0 -10
index 9d9fa4d..1152fc8 100644
@@ -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;
Signature · 1 line
1.8.5.3