From: Bean Huo Date: Wed, 29 Sep 2021 20:06:40 +0000 (+0200) Subject: scsi: ufs: core: Remove return statement in void function X-Git-Tag: v5.16-rc1~107^2~212 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f44abcfc3f9f570970f71e790ec625cf26a27021;p=thirdparty%2Flinux.git scsi: ufs: core: Remove return statement in void function 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 Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index e9120e6c5d625..7126b7a88b562 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 */