Whamcloud - gitweb
LU-8191 lnet: convert functions in utils to static 27/51427/3
authorTimothy Day <timday@amazon.com>
Fri, 23 Jun 2023 20:44:17 +0000 (20:44 +0000)
committerOleg Drokin <green@whamcloud.com>
Sat, 19 Aug 2023 05:37:50 +0000 (05:37 +0000)
commitd9cd9992b9e04bfad1ebd755f78d3e96850eaa32
treed6d3828ce4b376ceb91671cfc70f5f52210057ab
parent0163acf4f3fa65299e2574d9cee12c41c16b6ee7
LU-8191 lnet: convert functions in utils to static

Static analysis shows that a number of functions
could be made static. This patch declares several
functions in various LNet utils and lnetconfig to
static.

In LNet selftest (lst), one unused function was
removed entirely. Some declarations were moved to
made static.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ia4528281b3c87d77e46abb95f47ab0bdc72168c0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51427
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/cyaml.c
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetconfig/liblnetconfig_netlink.c
lnet/utils/lnetconfig/liblnetconfig_udsp.c
lnet/utils/lst.c
lnet/utils/routerstat.c
lnet/utils/wirecheck.c