]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: msghandler: Make symbol 'remove_work_wq' static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 23 Nov 2021 08:36:18 +0000 (08:36 +0000)
committerCorey Minyard <cminyard@mvista.com>
Tue, 23 Nov 2021 12:45:00 +0000 (06:45 -0600)
commit1312f36874cf4a803404d4f89f688b5ab256c173
treebb714c42ec9ee6948d437501da33168a8ef93d73
parent3dde8bab4cf48e8f33b873d78c8060fad4dc78f0
ipmi: msghandler: Make symbol 'remove_work_wq' static

The sparse tool complains as follows:

drivers/char/ipmi/ipmi_msghandler.c:194:25: warning:
 symbol 'remove_work_wq' was not declared. Should it be static?

This symbol is not used outside of ipmi_msghandler.c, so
marks it static.

Fixes: 3dde8bab4cf4 ("ipmi: Move remove_work to dedicated workqueue")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Message-Id: <20211123083618.2366808-1-weiyongjun1@huawei.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c