Whamcloud - gitweb
LU-8191 obdclass: add static and remove functions 40/51440/3
authorTimothy Day <timday@amazon.com>
Fri, 23 Jun 2023 20:40:35 +0000 (20:40 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Jul 2023 03:08:19 +0000 (03:08 +0000)
commitb3f0995b772877f0bea5d3d790db441244c3c821
tree6b5086a41a937510a95a7ff27f2a10baebbc97b6
parent43cbc93f1edc493e47fe5c4059bf0bae6a20c207
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.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I5f1d438c9663e62789d26093ec9bdd5d76a3060a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51440
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/genops.c
lustre/obdclass/jobid.c
lustre/obdclass/kernelcomm.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