diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-09-27 11:17:11 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-31 07:28:34 +0200 |
commit | a98d194402bd173433794c8549e158f65917c468 (patch) | |
tree | 0c1fbfe6f1d0b13d5b359b123a23f52ba180110b /drivers/scsi/sg.c | |
parent | ba110e6dc391f70195c161bcc3de2c58ba705045 (diff) | |
download | linux-stable-a98d194402bd173433794c8549e158f65917c468.tar.gz linux-stable-a98d194402bd173433794c8549e158f65917c468.tar.bz2 linux-stable-a98d194402bd173433794c8549e158f65917c468.zip |
scsi: NCR5380: Reduce goto statements in NCR5380_select()
commit 6a162836997c10bbefb7c7ca772201cc45c0e4a6 upstream.
Replace a 'goto' statement with a simple 'return' where possible. This
improves readability. No functional change.
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions