[PATCH] scsi: lpfc: lpfc_attr: Removed unnecessary 'return'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: lijian <lijian@xxxxxxxxxx>

Removed unnecessary 'return'.

Signed-off-by: lijian <lijian@xxxxxxxxxx>
---
 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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux