summaryrefslogtreecommitdiff
path: root/drivers/scsi/fcoe
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/fcoe
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/fcoe')
-rw-r--r--drivers/scsi/fcoe/fcoe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index 0f9274960dc6..a4be6f439c47 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -1894,7 +1894,6 @@ static int fcoe_device_notification(struct notifier_block *notifier,
mutex_unlock(&fcoe_config_mutex);
fcoe_ctlr_device_delete(fcoe_ctlr_to_ctlr_dev(ctlr));
goto out;
- break;
case NETDEV_FEAT_CHANGE:
fcoe_netdev_features_change(lport, netdev);
break;