From 7f8c40cf7124074b1cf6eb3400ebfe4eedd47640 Mon Sep 17 00:00:00 2001 From: James Smart Date: Mon, 15 Jul 2013 18:34:22 -0400 Subject: [PATCH] [SCSI] lpfc 8.3.41: Fixed failure in setting SLI3 board mode Signed-off-by: James Smart Signed-off-by: James Bottomley --- drivers/scsi/lpfc/lpfc_attr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 9937e572efdb..1b2305333ed8 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c @@ -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);