diff mbox series

scsi: lpfc: lpfc_attr: Removed unnecessary 'return'

Message ID 20210609072951.459196-1-lijian_8010a29@163.com (mailing list archive)
State Rejected
Headers show
Series scsi: lpfc: lpfc_attr: Removed unnecessary 'return' | expand

Commit Message

lijian_8010a29@163.com June 9, 2021, 7:29 a.m. UTC
From: lijian <lijian@yulong.com>

Removed unnecessary 'return'.

Signed-off-by: lijian <lijian@yulong.com>
---
 drivers/scsi/lpfc/lpfc_attr.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

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;
 }