]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/lpfc/lpfc_attr.c
scsi: lpfc: minor code cleanups
[karo-tx-linux.git] / drivers / scsi / lpfc / lpfc_attr.c
index 50cf402dea298119ddcc88c4e3d2ec0669dba204..ce41dea476827bd46c4ffb18928569d54d74e8a6 100644 (file)
@@ -50,9 +50,9 @@
 #include "lpfc_vport.h"
 #include "lpfc_attr.h"
 
-#define LPFC_DEF_DEVLOSS_TMO 30
-#define LPFC_MIN_DEVLOSS_TMO 1
-#define LPFC_MAX_DEVLOSS_TMO 255
+#define LPFC_DEF_DEVLOSS_TMO   30
+#define LPFC_MIN_DEVLOSS_TMO   1
+#define LPFC_MAX_DEVLOSS_TMO   255
 
 /*
  * Write key size should be multiple of 4. If write key is changed
@@ -5769,10 +5769,12 @@ lpfc_get_cfgparam(struct lpfc_hba *phba)
        lpfc_fcp_io_channel_init(phba, lpfc_fcp_io_channel);
        lpfc_enable_hba_reset_init(phba, lpfc_enable_hba_reset);
        lpfc_enable_hba_heartbeat_init(phba, lpfc_enable_hba_heartbeat);
+
        lpfc_EnableXLane_init(phba, lpfc_EnableXLane);
        if (phba->sli_rev != LPFC_SLI_REV4)
                phba->cfg_EnableXLane = 0;
        lpfc_XLanePriority_init(phba, lpfc_XLanePriority);
+
        memset(phba->cfg_oas_tgt_wwpn, 0, (8 * sizeof(uint8_t)));
        memset(phba->cfg_oas_vpt_wwpn, 0, (8 * sizeof(uint8_t)));
        phba->cfg_oas_lun_state = 0;