]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 08:01:15 +0000 (09:01 +0100)
commit5df7d6a012fc5cfebaaa708b27b64592271467eb
tree4926bdc7ac9d8363c9ae600a415b064a86bc597d
parent5d1e83fffbc9d81d982778b0dc68be80308706e3
ipmi: msghandler: Make symbol 'remove_work_wq' static

commit 5a3ba99b62d8486de0316334e72ac620d4b94fdd upstream.

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: 1d49eb91e86e ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/ipmi/ipmi_msghandler.c