Whamcloud - gitweb
LU-6142 lustre: remove non-static 'inline' markings. 89/40289/4
authorMr NeilBrown <neilb@suse.de>
Thu, 15 Oct 2020 00:10:47 +0000 (11:10 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 21:43:28 +0000 (21:43 +0000)
commitf0736a6a52ed95814d2cac875caf34f7fc233bf3
treee7783677f445e947baf1189630433ae1a4e58aed
parenta03765b2da70fb9242a622aba3ca4363a63fa656
LU-6142 lustre: remove non-static 'inline' markings.

There is rarely any point in marking a non-static function as
'inline'.  The result is to compile a state-alone function that other
files can refer to, and also to inline the code where it is used in
the same file.

In many cases the non-static inline functions are not used in the same
file, so the 'inline' marking has no effect.  In other cases it may
have an effect, but it can only be needed in highly performance
critical situations where a function call must be avoided, and that
doesn't seem like in any of these cases.

So just remove the "inline".

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ic3243ee80f9bfd75a67dd8c89ea07d08dc36425c
Reviewed-on: https://review.whamcloud.com/40289
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
libcfs/libcfs/crypto/keysetup.c
lnet/lnet/router.c
lustre/llite/crypto.c
lustre/lod/lod_object.c
lustre/quota/qmt_entry.c
lustre/quota/qmt_pool.c
lustre/utils/lfs_project.c