]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: unisys: visorbus: make two functions static
authorColin Ian King <colin.king@canonical.com>
Fri, 1 Sep 2017 10:08:10 +0000 (11:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Sep 2017 17:06:44 +0000 (19:06 +0200)
commitbc05a9c8774bca5ca95518a0ab3a335e45dcc26b
tree3c71384881a2f9ee6e3362e648aec0ada1109e93
parent11b86a84bc535a602fcf72ba6b3aa4eaa748764f
staging: unisys: visorbus: make two functions static

The functions sig_queue_offset and sig_data_offset are local to
the source and do not need to be in global scope, so make them
static.

Cleans up sparse warnings:
symbol 'sig_queue_offset' was not declared. Should it be static?
symbol 'sig_data_offset' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchannel.c