scsi: fcoe: Remove unneeded semicolon
authorTom Rix <trix@redhat.com>
Sun, 1 Nov 2020 14:40:17 +0000 (06:40 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 5 Nov 2020 03:05:22 +0000 (22:05 -0500)
A semicolon is not needed after a switch statement.

Link: https://lore.kernel.org/r/20201101144017.2284047-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/fcoe_sysfs.c

index a4be6f4..03bf49a 100644 (file)
@@ -2023,7 +2023,7 @@ static int fcoe_ctlr_enabled(struct fcoe_ctlr_device *cdev)
        case FCOE_CTLR_UNUSED:
        default:
                return -ENOTSUPP;
-       };
+       }
 }
 
 /**
index ffef2c8..af658aa 100644 (file)
@@ -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)