aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2015-05-18 13:26:17 +0200
committerDoug Ledford <dledford@redhat.com>2015-05-18 13:35:56 -0400
commitbbac5ccff43cdcb5fc9346669ec67ea47fca3de0 (patch)
treee2d4db16b71c0a774343cd9306328b586b44d926 /include/scsi
parentIB/srp: Remove a superfluous check from srp_free_req_data() (diff)
downloadlinux-dev-bbac5ccff43cdcb5fc9346669ec67ea47fca3de0.tar.xz
linux-dev-bbac5ccff43cdcb5fc9346669ec67ea47fca3de0.zip
IB/srp: Remove !ch->target tests from the reconnect code
Remove the !ch->target tests from the reconnect code. These tests are not needed: upon entry of srp_rport_reconnect() it is guaranteed that all ch->target pointers are non-NULL. None of the functions srp_new_cm_id(), srp_finish_req(), srp_create_ch_ib() nor srp_connect_ch() modifies this pointer. srp_free_ch_ib() is never called concurrently with srp_rport_reconnect(). Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions