diff mbox series

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

Message ID 20210929200640.828611-4-huobean@gmail.com (mailing list archive)
State Accepted
Headers show
Series Two fixes for UFS | expand

Commit Message

Bean Huo Sept. 29, 2021, 8:06 p.m. UTC
From: Bean Huo <beanhuo@micron.com>

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

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

Patch

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 */