Message ID | alpine.DEB.2.21.1903052218170.2594@hadrien (mailing list archive) |
---|---|
State | Deferred |
Headers | show |
Series | qedf: fix itnull.cocci warnings | expand |
--- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -798,7 +798,7 @@ bool qedf_wait_for_upload(struct qedf_ct rcu_read_lock(); list_for_each_entry_rcu(fcport, &qedf->fcports, peers) { - if (fcport && test_bit(QEDF_RPORT_SESSION_READY, + if (test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) { if (fcport->rdata) QEDF_ERR(&qedf->dbg_ctx,