From: Konrad Zapalowicz Date: Sat, 24 May 2014 15:23:09 +0000 (+0200) Subject: staging: rtl8821ae: deal with unused functions in halbtc8723b2ant.c X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~256 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65aa61c03646377cfaba7490eeff1c364f8cf9a2;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed