* [PATCH] scsi: bnx2fc: remove unneeded semicolon in bnx2fc_fcoe.c
@ 2020-04-21 3:40 Jason Yan
2020-04-27 20:21 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-21 3:40 UTC (permalink / raw)
To: QLogic-Storage-Upstream, jejb, martin.petersen, skashyap, jhasan,
linux-scsi, linux-kernel
Cc: Jason Yan
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
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
index 1cbb431fa682..0e33324e16f5 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
@@ -945,7 +945,7 @@ static void bnx2fc_indicate_netevent(void *context, unsigned long event,
*/
if (interface->enabled)
fcoe_ctlr_link_up(ctlr);
- };
+ }
} else if (fcoe_ctlr_link_down(ctlr)) {
switch (cdev->enabled) {
case FCOE_CTLR_DISABLED:
@@ -965,7 +965,7 @@ static void bnx2fc_indicate_netevent(void *context, unsigned long event,
put_cpu();
fcoe_clean_pending_queue(lport);
wait_for_upload = 1;
- };
+ }
}
}
mutex_unlock(&bnx2fc_dev_lock);
--
2.21.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: bnx2fc: remove unneeded semicolon in bnx2fc_fcoe.c
2020-04-21 3:40 [PATCH] scsi: bnx2fc: remove unneeded semicolon in bnx2fc_fcoe.c Jason Yan
@ 2020-04-27 20:21 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2020-04-27 20:21 UTC (permalink / raw)
To: skashyap, linux-kernel, jejb, QLogic-Storage-Upstream, jhasan,
linux-scsi, Jason Yan
Cc: Martin K . Petersen
On Tue, 21 Apr 2020 11:40:19 +0800, Jason Yan wrote:
> 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
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: bnx2fc: Remove unneeded semicolon in bnx2fc_fcoe.c
https://git.kernel.org/mkp/scsi/c/acfcb728bd57
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-27 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 3:40 [PATCH] scsi: bnx2fc: remove unneeded semicolon in bnx2fc_fcoe.c Jason Yan
2020-04-27 20:21 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).