Whamcloud - gitweb
LU-12756 lnet: Remove unnecessary rtr_nid argument 40/36540/7
authorChris Horn <hornc@cray.com>
Tue, 22 Oct 2019 02:10:57 +0000 (21:10 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Feb 2020 05:50:05 +0000 (05:50 +0000)
commit01286ba81ce93e05e5e61c8346c80c74deb29d32
tree8327de890b60e47f948cb512301d18cc85ea5621
parentef20f5e84e5457397da5b0e086c42ce6b79e2574
LU-12756 lnet: Remove unnecessary rtr_nid argument

Cache the rtr_nid argument in lnet_select_pathway() the same way we
cache the src_nid argument.

Also remove the unnecessary lnet_nid_t variable that stores the
lp_primary_nid solely for the purposes of printing a debug message.

Test-Parameters: trivial
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I0a265bbb1c57eba0373a38fbacacceb64faf4614
Reviewed-on: https://review.whamcloud.com/36540
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-move.c