浏览代码

rtlwifi: btcoexist: remove undefined Kconfig macros

There are references to four undefined Kconfig macros in the code.
Commit 8542373dccd2 ("Staging: rtl8812ae: remove undefined Kconfig
macros") removed identical references from that staging driver, but
they resurfaced in rtlwifi. 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: John W. Linville <linville@tuxdriver.com>
Paul Bolle 11 年之前
父节点
当前提交
5212f518ac
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.c

+ 0 - 10
drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.c

@@ -625,17 +625,7 @@ bool exhalbtc_initlize_variables(struct rtl_priv *adapter)
 	else
 	else
 		btcoexist->binded = true;
 		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;
 	btcoexist->chip_interface = BTC_INTF_UNKNOWN;
-#endif
 
 
 	if (NULL == btcoexist->adapter)
 	if (NULL == btcoexist->adapter)
 		btcoexist->adapter = adapter;
 		btcoexist->adapter = adapter;