[SCSI] qla2xxx: Fix coccinelle warnings in qla2x00_relogin.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Wed, 21 Nov 2012 07:40:31 +0000 (02:40 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 30 Nov 2012 13:14:09 +0000 (13:14 +0000)
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>
drivers/scsi/qla2xxx/qla_os.c

index 0cdc6e2..132556b 100644 (file)
@@ -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;
                                        }