[PATCH net-next] net: ethernet: mtk_eth_soc: remove unneeded semicolon
Qiheng Lin
linqiheng at huawei.com
Tue Apr 6 04:04:33 BST 2021
Eliminate the following coccicheck warning:
drivers/net/ethernet/mediatek/mtk_ppe.c:270:2-3: Unneeded semicolon
Signed-off-by: Qiheng Lin <linqiheng at huawei.com>
---
drivers/net/ethernet/mediatek/mtk_ppe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mediatek/mtk_ppe.c b/drivers/net/ethernet/mediatek/mtk_ppe.c
index a1a9959a2461..71e1ccea6e72 100644
--- a/drivers/net/ethernet/mediatek/mtk_ppe.c
+++ b/drivers/net/ethernet/mediatek/mtk_ppe.c
@@ -267,7 +267,7 @@ int mtk_foe_entry_set_ipv6_tuple(struct mtk_foe_entry *entry,
default:
WARN_ON_ONCE(1);
return -EINVAL;
- };
+ }
for (i = 0; i < 4; i++)
src[i] = be32_to_cpu(src_addr[i]);
--
2.31.1
More information about the linux-arm-kernel
mailing list