summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_fcp.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-08-23 15:56:33 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-08-30 13:33:55 +0200
commit26c724a690a1cd10575365da90b5b4040278a6c5 (patch)
tree48864f4dad1d53425c275905a42e9a17b676f840 /drivers/scsi/libfc/fc_fcp.c
parentscsi: 53c700: Fix spelling of 'NEGOTIATION' (diff)
downloadlinux-26c724a690a1cd10575365da90b5b4040278a6c5.tar.xz
linux-26c724a690a1cd10575365da90b5b4040278a6c5.zip
scsi: lpfc: remove an unnecessary NULL check
Smatch complains about this code: drivers/scsi/lpfc/lpfc_scsi.c:1053 lpfc_get_scsi_buf_s4() warn: variable dereferenced before check 'lpfc_cmd' (see line 1039) Fortunately the NULL check isn't required so I have removed it. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libfc/fc_fcp.c')
0 files changed, 0 insertions, 0 deletions