[SCSI] qla2xxx: Fix coccinelle warnings in qla2x00_relogin.

Reported-by: Fengguang Wu <Fengguang.wu@intel.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
Saurav Kashyap
2012-11-21 02:40:31 -05:00
committed by James Bottomley
parent a72b990047
commit 03003960a4

View File

@@ -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;
}