diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 07:23:33 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-26 18:23:24 -0400 |
commit | 170b7d2de29e6239b8dbc63a88de1fa9789b0d8d (patch) | |
tree | 244aaf921362791ecb1def02ac87fc9280450bf0 /drivers/scsi/st.c | |
parent | 434ee425195097865acc42744cfd0d73f5395cef (diff) | |
download | linux-next-170b7d2de29e6239b8dbc63a88de1fa9789b0d8d.tar.gz |
scsi: Remove unneeded break statements
A break is not needed if it is preceded by a return or goto.
Link: https://lore.kernel.org/r/20201019142333.16584-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/st.c')
-rw-r--r-- | drivers/scsi/st.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index e2e5356a997d..43f7624508a9 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c @@ -2846,7 +2846,6 @@ static int st_int_ioctl(struct scsi_tape *STp, unsigned int cmd_in, unsigned lon case MTNOP: DEBC_printk(STp, "No op on tape.\n"); return 0; /* Should do something ? */ - break; case MTRETEN: cmd[0] = START_STOP; if (STp->immediate) { |