Skip to content

Commit

Permalink
Staging: rtl8812ae: remove undefined Kconfig macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Bolle authored and Greg Kroah-Hartman committed Feb 11, 2014
1 parent d5d1999 commit 8542373
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8542373

Please sign in to comment.