diff options
| author | Bart Van Assche <[email protected]> | 2017-05-23 16:48:45 -0700 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2017-07-06 23:11:28 -0700 |
| commit | 8fa4011e0dd9423f1226f2f9769a1cf25c264468 (patch) | |
| tree | cd88ff3dd535270708b9f1c34779a73043fb5703 /tools/perf/scripts/python | |
| parent | d1c26857cdec3e3bdb5cf7179411f6ce8cc0834c (diff) | |
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 <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Andy Grover <[email protected]>
Cc: David Disseldorp <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions