]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging/usbip: Mark local functions as static (fix sparse warnings)
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 15 Feb 2013 19:39:57 +0000 (20:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2013 23:12:40 +0000 (15:12 -0800)
commitff6944304eda0cfae6aad088d4a7c100b0215b92
treec82b5dcc36477cac694757f410119f3e8461bd08
parent771f3eed631be02b08544fc46cdfd2558599cf5d
staging/usbip: Mark local functions as static (fix sparse warnings)

sparse complains about these functions:
usbip/stub_dev.c:529:5: warning: symbol 'stub_pre_reset' was not declared. Should it be static?
usbip/stub_dev.c:535:5: warning: symbol 'stub_post_reset' was not declared. Should it be static?

-> add static keyword to silence the warning and make sparse happy.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/stub_dev.c