summaryrefslogtreecommitdiff
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-19 17:23:33 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-10-27 01:23:24 +0300
commit170b7d2de29e6239b8dbc63a88de1fa9789b0d8d (patch)
tree244aaf921362791ecb1def02ac87fc9280450bf0 /drivers/scsi/ipr.c
parent434ee425195097865acc42744cfd0d73f5395cef (diff)
downloadlinux-170b7d2de29e6239b8dbc63a88de1fa9789b0d8d.tar.xz
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/ipr.c')
-rw-r--r--drivers/scsi/ipr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index b0aa58d117cc..e451102b9a29 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -9487,7 +9487,6 @@ static pci_ers_result_t ipr_pci_error_detected(struct pci_dev *pdev,
case pci_channel_io_perm_failure:
ipr_pci_perm_failure(pdev);
return PCI_ERS_RESULT_DISCONNECT;
- break;
default:
break;
}