]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: staging: lustre: fix sparse warnings / delete unused function
authorBenedict Boerger <benedict.boerger@cs.tu-dortmund.de>
Fri, 8 Aug 2014 16:26:22 +0000 (18:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:11 +0000 (12:23 -0700)
commit282a2296756baa2289167c1b06f79fe61220f4e7
tree9c3442c9f1e571de7e8f0d314df5669b6767420d
parent5daa0fdd9e0691b6f2327205c58163b4343032f0
drivers: staging: lustre: fix sparse warnings / delete unused function

drivers: staging: lustre: fix sparse warning: symbol XYZ was
not declared. Should it be static?

This was done by declaring them static. This could be done because the functions
were used only in this file.

Deleted the function lnet_print_text_bufs because it were unused.

Compiled without an error.
Done to complete a eudyptula task.

Signed-off-by: Benedict Boerger <benedict.boerger@cs.tu-dortmund.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/config.c