diff options
| author | Colin Ian King <[email protected]> | 2017-06-05 18:29:58 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-06-12 21:10:53 -0400 |
| commit | fe4d5cec8eda7b1404eec8664bc165d6d2539176 (patch) | |
| tree | 960ebce1ba41cd1d9f12cfd7f374262cdc9818a3 /tools/perf/scripts/python | |
| parent | 2c87ea97ce6a53fc8c98a796b34fed5b84aeff6b (diff) | |
scsi: qla2xxx: remove redundant null check on tgt
An earlier commit ed7fb808477b846bb2 ("scsi: qla2xxx: Remove redundant
wait when target is stopped.") removed a null check on ha->tgt.tgt_ops
and replaced it with a new check that null checked tgt, thus making the
subsequent null check on tgt totally redundant. Remove it.
Detected by CoverityScan, CID#1440452 ("Logically Dead Code")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions