]> 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)
commitf0c7de991c51ee927c071c3e8ead0b62b8fa3380
tree3c71384881a2f9ee6e3362e648aec0ada1109e93
parent1c156eddddcbfa92385221026596f3575918595d
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