Whamcloud - gitweb
LU-8191 obdclass: add static and remove functions
authorTimothy Day <timday@amazon.com>
Thu, 28 Mar 2024 08:22:46 +0000 (01:22 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 Mar 2024 07:23:38 +0000 (07:23 +0000)
commit16812282b5230d3bc2fefa3df8b9c6f2a63f7da6
treeee5f049333841c28d425eeec24aaa3410cfcaec5
parent0c57ae875305101da01c19699fbd429f0bf9ee07
LU-8191 obdclass: add static and remove functions

Static analysis shows that a number of functions
could be made static. This patch declares several
functions in obdclass static.

There are a few functions which are never called
anywhere. These are removed. Additionally, there
is some debugging code (added 15 years ago) that
has also been removed.

Lustre-change: https://review.whamcloud.com/51440
Lustre-commit: b3f0995b772877f0bea5d3d790db441244c3c821

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I5f1d438c9663e62789d26093ec9bdd5d76a3060a
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54605
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/obdclass/genops.c
lustre/obdclass/jobid.c
lustre/obdclass/llog_osd.c
lustre/obdclass/llog_swab.c
lustre/obdclass/local_storage.c
lustre/obdclass/lprocfs_status_server.c
lustre/obdclass/lu_object.c