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>
This commit is contained in:
Родитель
f71ded01cc
Коммит
acfcb728bd
|
@ -945,7 +945,7 @@ static void bnx2fc_indicate_netevent(void *context, unsigned long event,
|
||||||
*/
|
*/
|
||||||
if (interface->enabled)
|
if (interface->enabled)
|
||||||
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:
|
||||||
|
@ -965,7 +965,7 @@ static void bnx2fc_indicate_netevent(void *context, unsigned long event,
|
||||||
put_cpu();
|
put_cpu();
|
||||||
fcoe_clean_pending_queue(lport);
|
fcoe_clean_pending_queue(lport);
|
||||||
wait_for_upload = 1;
|
wait_for_upload = 1;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mutex_unlock(&bnx2fc_dev_lock);
|
mutex_unlock(&bnx2fc_dev_lock);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче