diff options
| author | Colin Ian King <[email protected]> | 2019-02-15 09:52:32 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-02-19 18:58:35 -0500 |
| commit | bb6abdd453e123bebdf949a03df5e846ecb5866b (patch) | |
| tree | dd9f8fa2482c714e2d95b8b700dd6c70485a0e1b /lib/mpi/mpi-cmp.c | |
| parent | f233e8c000c6ff93481c8e867e06637c90e69a01 (diff) | |
scsi: qla2xxx: remove redundant null check on pointer sess
The null check on pointer sess and the subsequent call is redundant as sess
is null on all the the paths that lead to the out_term2 label. Hence the
null check and the call can be removed. Also remove the redundant setting
of sess to NULL as this is not required now.
Detected by CoverityScan, CID#1420663 ("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 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions