]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: 8821c: make symbol 'rtw8821c_rtw_pwr_track_tbl' static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 21 Jul 2020 13:49:01 +0000 (21:49 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 2 Aug 2020 15:06:11 +0000 (18:06 +0300)
commitd6e5caa52522ab2aabb4bf4afbfdeb5676e4c483
treec8b43ae8b457cf7ec2fc55ab1cf8dfd017d72f50
parent4fae9899e5a210fa4170161bf67ee97761d65b31
rtw88: 8821c: make symbol 'rtw8821c_rtw_pwr_track_tbl' static

The sparse tool complains as follows:

drivers/net/wireless/realtek/rtw88/rtw8821c.c:1374:32: warning:
 symbol 'rtw8821c_rtw_pwr_track_tbl' was not declared. Should it be static?

This variable is not used outside of rtw8821c.c, so this commit
marks it static.

Fixes: 160b9ba4db87 ("rtw88: 8821c: add power tracking")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200721134901.33968-1-weiyongjun1@huawei.com
drivers/net/wireless/realtek/rtw88/rtw8821c.c