scsi: fcoe: remove unneeded semicolon
Subsystems (2)
PATCH 1/1 scsi: fcoe: remove unneeded semicolon
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Signed-off-by Tom Rix <[email protected]>
--- drivers/scsi/fcoe/fcoe.c | 2 +- drivers/scsi/fcoe/fcoe_sysfs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/fcoe/fcoe.c +1 -1
@@ -2023,7 +2023,7 @@ static int fcoe_ctlr_enabled(struct fcoe_ctlr_device *cdev)case FCOE_CTLR_UNUSED :default :return -ENOTSUPP ; - }; + } }/**
drivers/scsi/fcoe/fcoe_sysfs.c +2 -2
@@ -312,7 +312,7 @@ static ssize_t store_ctlr_mode(struct device *dev,default :LIBFCOE_SYSFS_DBG (ctlr,"Mode change not supported.\n" );return -ENOTSUPP ; - }; + } } static FCOE_DEVICE_ATTR(ctlr, mode, S_IRUGO | S_IWUSR,
@@ -346,7 +346,7 @@ static ssize_t store_ctlr_enabled(struct device *dev,break ;case FCOE_CTLR_UNUSED :return -ENOTSUPP ; - }; + } rc = ctlr->f->set_fcoe_ctlr_enabled (ctlr);if (rc)
Signature · 1 line
2.18.1
Martin K. Petersen
AppliedTom,
Quoted 1 line
A semicolon is not needed after a switch statement.
Applied to 5.11/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 1 line · On Sun, 1 Nov 2020 06:40:17 -0800, [email protected] wrote:
A semicolon is not needed after a switch statement.
Applied to 5.11/scsi-queue, thanks!
[1/1] scsi: fcoe: Remove unneeded semicolon
https://git.kernel.org/mkp/scsi/c/00c00807a110
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering