diff options
author | Damien Le Moal <[email protected]> | 2020-09-10 16:48:41 +0900 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-09-15 20:28:05 -0400 |
commit | 342c81eeaaf06ae59e043427bd9d71da42eda163 (patch) | |
tree | bc896e9d585558a6c6f4597a299a5281556c6156 | |
parent | 6d70cb343484e626266b82451facad30e28b5e9f (diff) |
scsi: core: Clean up scsi_noretry_cmd()
No need for else after return.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/scsi_error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 927b1e641842..5f3726abed78 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -1755,8 +1755,8 @@ check_type: if (scmd->request->cmd_flags & REQ_FAILFAST_DEV || blk_rq_is_passthrough(scmd->request)) return 1; - else - return 0; + + return 0; } /** |