[PATCH v3 3/3] scsi: ufs: core: Remove return statement in void function

From: Bean Huo
Date: Wed Sep 29 2021 - 16:07:12 EST


From: Bean Huo <beanhuo@xxxxxxxxxx>

return statement is not useful at the end of "void" function.

Signed-off-by: Bean Huo <beanhuo@xxxxxxxxxx>
---
drivers/scsi/ufs/ufshcd.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 081092418e2d..2f0366c3cbf8 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -5845,7 +5845,6 @@ static void ufshcd_exception_event_handler(struct work_struct *work)
ufs_debugfs_exception_event(hba, status);
out:
ufshcd_scsi_unblock_requests(hba);
- return;
}

/* Complete requests that have door-bell cleared */
--
2.25.1