Commit 7df8944
scsi: ufs: core: Remove goto statements from ufshcd_try_to_abort_task()
The only statement that follows the 'out:' label in
ufshcd_try_to_abort_task() is a return-statement. Simplify this function
by changing 'goto out' statements into return statements.
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241022193130.2733293-3-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent a085e03 commit 7df8944
1 file changed
Lines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7485 | 7485 | | |
7486 | 7486 | | |
7487 | 7487 | | |
7488 | | - | |
| 7488 | + | |
7489 | 7489 | | |
7490 | 7490 | | |
7491 | 7491 | | |
| |||
7515 | 7515 | | |
7516 | 7516 | | |
7517 | 7517 | | |
7518 | | - | |
| 7518 | + | |
7519 | 7519 | | |
7520 | 7520 | | |
7521 | 7521 | | |
| |||
7528 | 7528 | | |
7529 | 7529 | | |
7530 | 7530 | | |
7531 | | - | |
| 7531 | + | |
7532 | 7532 | | |
7533 | 7533 | | |
7534 | 7534 | | |
7535 | 7535 | | |
7536 | | - | |
7537 | | - | |
7538 | | - | |
| 7536 | + | |
7539 | 7537 | | |
7540 | 7538 | | |
7541 | 7539 | | |
7542 | | - | |
7543 | | - | |
7544 | | - | |
7545 | | - | |
| 7540 | + | |
| 7541 | + | |
7546 | 7542 | | |
7547 | 7543 | | |
7548 | 7544 | | |
| |||
7552 | 7548 | | |
7553 | 7549 | | |
7554 | 7550 | | |
7555 | | - | |
| 7551 | + | |
7556 | 7552 | | |
7557 | 7553 | | |
7558 | 7554 | | |
7559 | 7555 | | |
7560 | 7556 | | |
7561 | 7557 | | |
7562 | 7558 | | |
7563 | | - | |
7564 | 7559 | | |
7565 | 7560 | | |
7566 | 7561 | | |
| |||
0 commit comments