[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210609072951.459196-1-lijian_8010a29@163.com>
Date: Wed, 9 Jun 2021 15:29:51 +0800
From: lijian_8010a29@....com
To: james.smart@...adcom.com, dick.kennedy@...adcom.com,
jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
lijian <lijian@...ong.com>
Subject: [PATCH] scsi: lpfc: lpfc_attr: Removed unnecessary 'return'
From: lijian <lijian@...ong.com>
Removed unnecessary 'return'.
Signed-off-by: lijian <lijian@...ong.com>
---
drivers/scsi/lpfc/lpfc_attr.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 6bf76576527c..d63217a35a31 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -109,7 +109,6 @@ lpfc_jedec_to_ascii(int incr, char hdw[])
incr = (incr >> 4);
}
hdw[8] = 0;
- return;
}
/**
@@ -6969,8 +6968,6 @@ lpfc_reset_stats(struct Scsi_Host *shost)
psli->stats_start = ktime_get_seconds();
mempool_free(pmboxq, phba->mbox_mem_pool);
-
- return;
}
/*
@@ -7433,8 +7430,6 @@ lpfc_get_cfgparam(struct lpfc_hba *phba)
lpfc_ras_fwlog_buffsize_init(phba, lpfc_ras_fwlog_buffsize);
lpfc_ras_fwlog_level_init(phba, lpfc_ras_fwlog_level);
lpfc_ras_fwlog_func_init(phba, lpfc_ras_fwlog_func);
-
- return;
}
/**
@@ -7527,5 +7522,4 @@ lpfc_get_vport_cfgparam(struct lpfc_vport *vport)
lpfc_max_luns_init(vport, lpfc_max_luns);
lpfc_scan_down_init(vport, lpfc_scan_down);
lpfc_enable_da_id_init(vport, lpfc_enable_da_id);
- return;
}
--
2.25.1
Powered by blists - more mailing lists