]> git.baikalelectronics.ru Git - kernel.git/commit
windfarm: make symbol 'wf_thread' static
authorYu Kuai <yukuai3@huawei.com>
Wed, 7 Apr 2021 12:57:38 +0000 (20:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:13 +0000 (23:04 +1000)
commitf4cc286e1d736f24003e01a5cc8313d02d1374b4
tree38fbd8b898f122282d35903aeb44f2ead67493ed
parent6764a96b4fa1107c3d28f30b71fdb460ba4b5c48
windfarm: make symbol 'wf_thread' static

The sparse tool complains as follows:

drivers/macintosh/windfarm_core.c:59:20: warning:
 symbol 'wf_thread' was not declared. Should it be static?

This symbol is not used outside of windfarm_core.c, so this
commit marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210407125738.4138480-1-yukuai3@huawei.com
drivers/macintosh/windfarm_core.c