Whamcloud - gitweb
LU-6142 lustre: remove some unnecessary code. 39/39739/4
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Aug 2020 03:50:16 +0000 (13:50 +1000)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 Apr 2021 03:14:47 +0000 (03:14 +0000)
commitcc21e6dadb91dd135dbbc810f60fba2c6ccc579d
tree11a66d3a08b02df5f88826a96cc11d2d056b3846
parent08f1d2961361f0f6c253b6fbd429ca7b61a3def2
LU-6142 lustre: remove some unnecessary code.

The field 'targets_proc_entry' is never set, so remove it and all
reference to it.

lov_dump_pool() is never used, so remove it.

min_u64() is never used - remove it.

max_u64() is used, but 'min3()' from linux/kernel.h makes
the code clearer, so use that instead.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I3ed6abc1b23e611bd4a573fa78981955a494c344
Reviewed-on: https://review.whamcloud.com/39739
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/lov/lov_internal.h
lustre/lov/lov_obd.c
lustre/lov/lov_pool.c
lustre/obdclass/interval_tree.c