IB/srp: Introduce a local variable in srp_add_one()
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 21 Nov 2016 21:57:07 +0000 (13:57 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 18:31:37 +0000 (13:31 -0500)
commit042dd765bdf401c0ccdeb16717b0c2a0b1405f18
treecf21e2e9f603adf822fe600c634190edda91be0f
parent1a1faf7a8a251d134d375b7783a614ee79e932f2
IB/srp: Introduce a local variable in srp_add_one()

This patch makes the srp_add_one() code more compact and does not
change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c