summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi_tgt
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-05-24 01:48:45 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2017-07-07 08:11:28 +0200
commit8fa4011e0dd9423f1226f2f9769a1cf25c264468 (patch)
treecd88ff3dd535270708b9f1c34779a73043fb5703 /drivers/scsi/ibmvscsi_tgt
parenttarget/iscsi: Simplify iscsit_free_cmd() (diff)
downloadlinux-8fa4011e0dd9423f1226f2f9769a1cf25c264468.tar.xz
linux-8fa4011e0dd9423f1226f2f9769a1cf25c264468.zip
target/iscsi: Remove dead code from iscsit_process_scsi_cmd()
If an iSCSI command is rejected before iscsit_process_scsi_cmd() is called, .reject_reason is set but iscsit_process_scsi_cmd() is not called. This means that the "if (cmd->reject_reason) ..." code in this function can be removed without changing the behavior of this function. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Hannes Reinecke <hare@suse.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Andy Grover <agrover@redhat.com> Cc: David Disseldorp <ddiss@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/ibmvscsi_tgt')
0 files changed, 0 insertions, 0 deletions