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)
commit9de6959f8584064de8c1d7392e3a6bb50a4a9c18
treec8b43ae8b457cf7ec2fc55ab1cf8dfd017d72f50
parentc376c1fc87b77ae06ed6fa18d424ab548ac3a8fc
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: 3a4312828ce1 ("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