]> git.baikalelectronics.ru Git - 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)
commit46bf17e990d0b292fe918d65515b0936fcd79f2e
tree3c71384881a2f9ee6e3362e648aec0ada1109e93
parent1b7d36eeced336b38bcb926cd7e513d6e50e5f3a
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