diff options
| author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2012-11-21 02:40:31 -0500 |
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-30 08:14:09 -0500 |
| commit | 03003960a4cefaaee02412410ac3a763ea9ba0f9 (patch) | |
| tree | 21ccc0adec9160c392396313d6854372ff0a4776 /drivers | |
| parent | a72b990047f42f9b3c000f22e7678acd83642acf (diff) | |
[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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 0cdc6e2f11a2..132556b70d9f 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
| @@ -3720,10 +3720,9 @@ void qla2x00_relogin(struct scsi_qla_host *vha) | |||
| 3720 | if (fcport->flags & | 3720 | if (fcport->flags & |
| 3721 | FCF_FCP2_DEVICE) | 3721 | FCF_FCP2_DEVICE) |
| 3722 | opts |= BIT_1; | 3722 | opts |= BIT_1; |
| 3723 | status2 = | 3723 | status2 = |
| 3724 | qla2x00_get_port_database( | 3724 | qla2x00_get_port_database( |
| 3725 | vha, fcport, | 3725 | vha, fcport, opts); |
| 3726 | opts); | ||
| 3727 | if (status2 != QLA_SUCCESS) | 3726 | if (status2 != QLA_SUCCESS) |
| 3728 | status = 1; | 3727 | status = 1; |
| 3729 | } | 3728 | } |
