2021-01-19 07:54:25

by Xu Wang

[permalink] [raw]
Subject: [PATCH] octeontx2-af: Remove unneeded semicolon

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

Signed-off-by: Xu Wang <[email protected]>
---
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


2021-01-20 01:58:13

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH] octeontx2-af: Remove unneeded semicolon

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 <[email protected]>

I squashed your 3 patches for octeontx2-af and applied them to net-next.

Thanks.