diff options
| author | Bart Van Assche <[email protected]> | 2019-08-09 03:02:17 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-13 01:34:09 +0000 |
| commit | 1778a0e7bff8d4468658e7b4e5a16d99048cd7a8 (patch) | |
| tree | 21c0405ab72e7955d4eab4d940f436192a769956 /drivers/scsi/pmcraid.c | |
| parent | scsi: qla2xxx: Introduce qla2x00_els_dcmd2_free() (diff) | |
| download | kernel-1778a0e7bff8d4468658e7b4e5a16d99048cd7a8.tar.gz kernel-1778a0e7bff8d4468658e7b4e5a16d99048cd7a8.zip | |
scsi: qla2xxx: Remove two superfluous if-tests
This patch fixes the following Coverity complaint:
Null-checking sp->u.iocb_cmd.u.ctarg.rsp suggests that it may be null, but
it has already been dereferenced on all paths leading to the check.
See also commit e374f9f59281 ("scsi: qla2xxx: Migrate switch registration commands away from mailbox interface") # v4.16.
Cc: Himanshu Madhani <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Tested-by: Himanshu Madhani <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions
