]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[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 9937e572efdb7816a0e5e56a9181ab438d512d79..1b2305333ed8f494103c56c7634558a970b554a3 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);