Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtl8192ee: 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 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>

authored by

Paul Bolle and committed by
Greg Kroah-Hartman
fd21c280 3151878e

-10
-10
drivers/staging/rtl8192ee/btcoexist/halbtcoutsrc.c
··· 736 736 else 737 737 btcoexist->binded = true; 738 738 739 - #if (defined(CONFIG_PCI_HCI)) 740 - btcoexist->chip_interface = BTC_INTF_PCI; 741 - #elif (defined(CONFIG_USB_HCI)) 742 - btcoexist->chip_interface = BTC_INTF_USB; 743 - #elif (defined(CONFIG_SDIO_HCI)) 744 - btcoexist->chip_interface = BTC_INTF_SDIO; 745 - #elif (defined(CONFIG_GSPI_HCI)) 746 - btcoexist->chip_interface = BTC_INTF_GSPI; 747 - #else 748 739 btcoexist->chip_interface = BTC_INTF_UNKNOWN; 749 - #endif 750 740 751 741 if (NULL == btcoexist->adapter) 752 742 btcoexist->adapter = adapter;