[SCSI] lpfc 8.3.41: Fixed failure in setting SLI3 board mode
authorJames Smart <james.smart@emulex.com>
Mon, 15 Jul 2013 22:34:22 +0000 (18:34 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 23 Aug 2013 17:21:34 +0000 (13:21 -0400)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_attr.c

index 9937e57..1b23053 100644 (file)
@@ -674,9 +674,6 @@ lpfc_do_offline(struct lpfc_hba *phba, uint32_t type)
        int i;
        int rc;
 
-       if (phba->pport->fc_flag & FC_OFFLINE_MODE)
-               return 0;
-
        init_completion(&online_compl);
        rc = lpfc_workq_post_event(phba, &status, &online_compl,
                              LPFC_EVT_OFFLINE_PREP);