Commit 03003960 authored by Saurav Kashyap's avatar Saurav Kashyap Committed by James Bottomley

[SCSI] qla2xxx: Fix coccinelle warnings in qla2x00_relogin.

Reported-by: default avatarFengguang Wu <Fengguang.wu@intel.com>
Signed-off-by: default avatarGiridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: default avatarSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent a72b9900
......@@ -3722,8 +3722,7 @@ void qla2x00_relogin(struct scsi_qla_host *vha)
opts |= BIT_1;
status2 =
qla2x00_get_port_database(
vha, fcport,
opts);
vha, fcport, opts);
if (status2 != QLA_SUCCESS)
status = 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment