summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic94xx/aic94xx_task.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-19 07:23:33 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2020-10-26 18:23:24 -0400
commit170b7d2de29e6239b8dbc63a88de1fa9789b0d8d (patch)
tree244aaf921362791ecb1def02ac87fc9280450bf0 /drivers/scsi/aic94xx/aic94xx_task.c
parent434ee425195097865acc42744cfd0d73f5395cef (diff)
downloadlwn-170b7d2de29e6239b8dbc63a88de1fa9789b0d8d.tar.gz
lwn-170b7d2de29e6239b8dbc63a88de1fa9789b0d8d.zip
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/aic94xx/aic94xx_task.c')
-rw-r--r--drivers/scsi/aic94xx/aic94xx_task.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_task.c b/drivers/scsi/aic94xx/aic94xx_task.c
index f923ed019d4a..ed034192b3c3 100644
--- a/drivers/scsi/aic94xx/aic94xx_task.c
+++ b/drivers/scsi/aic94xx/aic94xx_task.c
@@ -269,7 +269,6 @@ Again:
case TA_I_T_NEXUS_LOSS:
opcode = dl->status_block[0];
goto Again;
- break;
case TF_INV_CONN_HANDLE:
ts->resp = SAS_TASK_UNDELIVERED;
ts->stat = SAS_DEVICE_UNKNOWN;