]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: btcoex: Fix some static warnings from Sparse
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 25 Jan 2018 02:49:54 +0000 (10:49 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Jan 2018 17:33:34 +0000 (19:33 +0200)
commit3cd2b82429729e32db318588c78ef9307e96e26a
tree96eab0cc3626808f746ba37578383480b3d4a192
parent4cf796e1650b0bfaf19f73eed22503cd46e1ca7f
rtlwifi: btcoex: Fix some static warnings from Sparse

Add 'static' or declaration to resolve the warnings, and remove two unused
functions halbtc_set_macreg() and halbtc_get_macreg() exposed when they
were made static.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h