Whamcloud - gitweb
LU-8191 lnet: convert functions in utils to static
authorTimothy Day <timday@amazon.com>
Thu, 28 Mar 2024 23:39:27 +0000 (16:39 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 Mar 2024 07:24:27 +0000 (07:24 +0000)
commit809809a85b4d2eee42d1366e0f5d9b991a92efac
tree0de6d8b53962f0b0749c9f9d7d7b3b1ef3b79206
parent2ba254a594f56971e5c45fc363f453e3e299200d
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.

Lustre-change: https://review.whamcloud.com/51427
Lustre-commit: d9cd9992b9e04bfad1ebd755f78d3e96850eaa32

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ia4528281b3c87d77e46abb95f47ab0bdc72168c0
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54619
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/utils/lnetconfig/cyaml.c
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lst.c
lnet/utils/routerstat.c
lnet/utils/wirecheck.c