diff options
| author | Dick Kennedy <[email protected]> | 2020-05-01 14:43:05 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-05-07 22:47:22 -0400 |
| commit | f809da6db68a8be49e317f0ccfbced1af9258839 (patch) | |
| tree | 0d2dc34e142e5bd2f3e48e7217f41d4bc95711cc /tools/perf/scripts/python | |
| parent | b98214f6070ef5052b763b61ac2089a9ac6c8677 (diff) | |
scsi: lpfc: Fix negation of else clause in lpfc_prep_node_fc4type
Implementation of a previous patch added a condition to an if check that
always end up with the if test being true. Execution of the else clause was
inadvertently negated. The additional condition check was incorrect and
unnecessary after the other modifications had been done in that patch.
Remove the check from the if series.
Link: https://lore.kernel.org/r/[email protected]
Fixes: b95b21193c85 ("scsi: lpfc: Fix loss of remote port after devloss due to lack of RPIs")
Cc: <[email protected]> # v5.4+
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions