diff options
author | Bean Huo <beanhuo@micron.com> | 2021-09-29 22:06:40 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-05 04:20:38 +0200 |
commit | f44abcfc3f9f570970f71e790ec625cf26a27021 (patch) | |
tree | 7e432b68022d9f0debe40b99e49accde8e3fac17 /drivers/scsi/ufs/ufshcd.c | |
parent | scsi: ufs: core: Fix ufshcd_probe_hba() prototype to match the definition (diff) | |
download | linux-f44abcfc3f9f570970f71e790ec625cf26a27021.tar.xz linux-f44abcfc3f9f570970f71e790ec625cf26a27021.zip |
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 <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.c')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index e9120e6c5d62..7126b7a88b56 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 */ |