Fixed failure in setting SLI3 board mode

Signed-off-by: James Smart <james.sm...@emulex.com>

 ---

 lpfc_attr.c |    3 ---
 1 file changed, 3 deletions(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
--- a/drivers/scsi/lpfc/lpfc_attr.c     2013-07-15 07:15:17.540055827 -0400
+++ b/drivers/scsi/lpfc/lpfc_attr.c     2013-07-15 07:15:26.536056032 -0400
@@ -674,9 +674,6 @@ lpfc_do_offline(struct lpfc_hba *phba, u
        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);





--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to