scsi: ufs: core: Remove return statement in void function
authorBean Huo <beanhuo@micron.com>
Wed, 29 Sep 2021 20:06:40 +0000 (22:06 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Oct 2021 02:20:38 +0000 (22:20 -0400)
Return statement is not useful at the end of "void" function.

Link: https://lore.kernel.org/r/20210929200640.828611-4-huobean@gmail.com
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c

index e9120e6c5d6259178ab59ff14ba17f6997f0c29c..7126b7a88b56210a4d800fb0e760465f84f92687 100644 (file)
@@ -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 */