* [PATCH] scsi: lpfc: lpfc_attr: Removed unnecessary 'return'
@ 2021-06-09 7:29 lijian_8010a29
0 siblings, 0 replies; only message in thread
From: lijian_8010a29 @ 2021-06-09 7:29 UTC (permalink / raw)
To: james.smart, dick.kennedy, jejb, martin.petersen
Cc: linux-scsi, linux-kernel, lijian
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 --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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-09 7:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 7:29 [PATCH] scsi: lpfc: lpfc_attr: Removed unnecessary 'return' lijian_8010a29
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.