[PATCH] octeontx2-af: Remove unneeded semicolon

Subsystems: marvell octeontx2 rvu admin function driver, networking drivers, the rest

STALE2031d LANDED

Landed in mainline as fc6f89dd8c55 on 2021-01-20.

2 messages, 2 authors, 2021-01-20 · open the first message on its own page

[PATCH] octeontx2-af: Remove unneeded semicolon

From: Xu Wang <hidden>
Date: 2021-01-19 07:53:39

fix semicolon.cocci warnings:
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:272:2-3: Unneeded semicolon

Signed-off-by: Xu Wang <redacted>
---
 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c
index 14832b66d1fe..f72c79540b24 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c
@@ -269,7 +269,7 @@ static void npc_scan_parse_result(struct npc_mcam *mcam, u8 bit_number,
 		break;
 	default:
 		return;
-	};
+	}
 	npc_set_kw_masks(mcam, type, nr_bits, kwi, offset, intf);
 }
 
-- 
2.17.1

Re: [PATCH] octeontx2-af: Remove unneeded semicolon

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-20 01:56:08

On Tue, 19 Jan 2021 07:50:59 +0000 Xu Wang wrote:
fix semicolon.cocci warnings:
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:272:2-3: Unneeded semicolon

Signed-off-by: Xu Wang <redacted>
I squashed your 3 patches for octeontx2-af and applied them to net-next.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help