Commit b7a9d0c6 authored by Jason Yan's avatar Jason Yan Committed by Martin K. Petersen

scsi: fcoe: remove unneeded semicolon in fcoe.c

Fix the following coccicheck warning:

drivers/scsi/fcoe/fcoe.c:1918:3-4: Unneeded semicolon
drivers/scsi/fcoe/fcoe.c:1930:3-4: Unneeded semicolon

Link: https://lore.kernel.org/r/20200421034008.27865-1-yanaijie@huawei.comReviewed-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent f336c700
...@@ -1915,7 +1915,7 @@ static int fcoe_device_notification(struct notifier_block *notifier, ...@@ -1915,7 +1915,7 @@ static int fcoe_device_notification(struct notifier_block *notifier,
case FCOE_CTLR_ENABLED: case FCOE_CTLR_ENABLED:
case FCOE_CTLR_UNUSED: case FCOE_CTLR_UNUSED:
fcoe_ctlr_link_up(ctlr); fcoe_ctlr_link_up(ctlr);
}; }
} else if (fcoe_ctlr_link_down(ctlr)) { } else if (fcoe_ctlr_link_down(ctlr)) {
switch (cdev->enabled) { switch (cdev->enabled) {
case FCOE_CTLR_DISABLED: case FCOE_CTLR_DISABLED:
...@@ -1927,7 +1927,7 @@ static int fcoe_device_notification(struct notifier_block *notifier, ...@@ -1927,7 +1927,7 @@ static int fcoe_device_notification(struct notifier_block *notifier,
stats->LinkFailureCount++; stats->LinkFailureCount++;
put_cpu(); put_cpu();
fcoe_clean_pending_queue(lport); fcoe_clean_pending_queue(lport);
}; }
} }
out: out:
return rc; return rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment