OSDN Git Service

staging: rtl8821ae: deal with unused functions in halbtc8723b2ant.c
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Sat, 24 May 2014 15:23:09 +0000 (17:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 18:11:18 +0000 (11:11 -0700)
commit65aa61c03646377cfaba7490eeff1c364f8cf9a2
treefa1b6d4a5a27bd441a8e0e5c8be2adfa2f0157bc
parent8b596f5993860781081ac9d8f4d46c35036e4697
staging: rtl8821ae: deal with unused functions in halbtc8723b2ant.c

This commit fixes the compiler -Wunused-function warning. It was enough
to put #define around them to supress this warning. One was a special
case because it's usage was commented-out therefore, as I did not want
to remove it completely, I disabled it with #if 0

Conditionally compiled symbols

    halbtc8723b2ant_monitor_bt_enable_disable
    halbtc8723b2ant_set_bt_auto_report
    halbtc8723b2ant_bt_auto_report

Disabled symbols

    halbtc8723b2ant_adc_backoff
    halbtc8723b2ant_set_adc_backoff

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/btcoexist/halbtc8723b2ant.c