]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: fix unused rtl8192cu_fops compiler warning
authorKalle Valo <kvalo@codeaurora.org>
Sun, 25 Oct 2015 16:24:38 +0000 (18:24 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Oct 2015 16:06:10 +0000 (18:06 +0200)
commit10e420cc6c253c785f6592aed6adc40ed2dbd0fb
tree642434074cb59eb450ef5a00b53912ec221f2c1f
parent8fccda650441f0a4540efbffb151d01fdbabf0f6
rtl8xxxu: fix unused rtl8192cu_fops compiler warning

kbuild reported:

rtl8xxxu.c:5786:32: warning: ‘rtl8192cu_fops’ defined but not used [-Wunused-variable]

Fix it by adding temporary ifdefs around the static functions.

Fixes: 8fccda650441 ("rtl8xxxu: move devices supported by rtlwifi under UNTESTED config")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c