Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: bnx2fc: Remove unneeded semicolon in bnx2fc_fcoe.c

Fix the following coccicheck warning:

drivers/scsi/bnx2fc/bnx2fc_fcoe.c:948:4-5: Unneeded semicolon
drivers/scsi/bnx2fc/bnx2fc_fcoe.c:968:4-5: Unneeded semicolon

Link: https://lore.kernel.org/r/20200421034019.27949-1-yanaijie@huawei.com
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Jason Yan and committed by
Martin K. Petersen
acfcb728 f71ded01

+2 -2
+2 -2
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
··· 945 945 */ 946 946 if (interface->enabled) 947 947 fcoe_ctlr_link_up(ctlr); 948 - }; 948 + } 949 949 } else if (fcoe_ctlr_link_down(ctlr)) { 950 950 switch (cdev->enabled) { 951 951 case FCOE_CTLR_DISABLED: ··· 965 965 put_cpu(); 966 966 fcoe_clean_pending_queue(lport); 967 967 wait_for_upload = 1; 968 - }; 968 + } 969 969 } 970 970 } 971 971 mutex_unlock(&bnx2fc_dev_lock);