mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
scsi: fcoe: Remove unneeded semicolon
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>
This commit is contained in:
parent
4a9435b7b0
commit
00c00807a1
@ -2023,7 +2023,7 @@ static int fcoe_ctlr_enabled(struct fcoe_ctlr_device *cdev)
|
||||
case FCOE_CTLR_UNUSED:
|
||||
default:
|
||||
return -ENOTSUPP;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user