mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
qla2x00t-32gbit: Remove a superfluous pointer check
Checking a pointer after it has been dereferenced is not useful. This was detected by Coverity. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -199,7 +199,7 @@ static void qla_nvme_abort_work(struct work_struct *work)
|
||||
"%s called for sp=%p, hndl=%x on fcport=%p deleted=%d\n",
|
||||
__func__, sp, sp->handle, fcport, fcport->deleted);
|
||||
|
||||
if (!ha->flags.fw_started && (fcport && fcport->deleted))
|
||||
if (!ha->flags.fw_started && fcport->deleted)
|
||||
return;
|
||||
|
||||
if (ha->flags.host_shutting_down) {
|
||||
|
||||
Reference in New Issue
Block a user