mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 00:10:09 +00:00
[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:
parent
a72b990047
commit
03003960a4
1 changed files with 3 additions and 4 deletions
|
@ -3720,10 +3720,9 @@ void qla2x00_relogin(struct scsi_qla_host *vha)
|
|||
if (fcport->flags &
|
||||
FCF_FCP2_DEVICE)
|
||||
opts |= BIT_1;
|
||||
status2 =
|
||||
qla2x00_get_port_database(
|
||||
vha, fcport,
|
||||
opts);
|
||||
status2 =
|
||||
qla2x00_get_port_database(
|
||||
vha, fcport, opts);
|
||||
if (status2 != QLA_SUCCESS)
|
||||
status = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue