]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: fixed shadowed variable in socklnd_cb.c
authorAndrew Kanner <andrew.kanner@gmail.com>
Thu, 3 Nov 2016 22:49:46 +0000 (01:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 10:40:49 +0000 (11:40 +0100)
commit993403b9798123db4eb9d9bba1ab41f388dc1ea1
tree6683774529725a327945be6b0e2f9f59f017a638
parent93497d244134c2a3b79fc481eca5318b92f397d1
staging: lustre: fixed shadowed variable in socklnd_cb.c

Removed redundant declaration of variable 'tx' in local scope
Fixed: sparse warning:
socklnd_cb.c:2476:41: warning: symbol 'tx' shadows an earlier one
socklnd_cb.c:2435:25: originally declared here

Signed-off-by: Andrew Kanner <andrew.kanner@gmail.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c