[PATCH] staging: r8188eu: Remove dead code

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Feb 14 17:17:08 UTC 2014


On Thu, Feb 13, 2014 at 01:00:18PM +0100, Paul Bolle wrote:
> There are a few lines in this driver that depend on a macro
> CONFIG_BT_COEXIST. But there's no Kconfig symbol of that name nor is
> there a preprocessor define for that string. So remove these lines.
> 
> Signed-off-by: Paul Bolle <pebolle at tiscali.nl>
> ---
> Entirely untested.
> 
> Fun fact: two years ago, code depending on the same undefined macro was
> removed from rtl8192cu, see commit 9ef11f7b34c0 ("rtl8192cu: Remove dead
> code never selected"). I wonder where this macro originated.

It comes from the stand-alone version of this driver, and the config
options that it "provides" when building.  So expect it to constantly
show up until this company stops relying on their internal tree...

thanks,

greg k-h


More information about the devel mailing list