Skip to contentSkip to conversation

net: ethernet: mtk_eth_soc: remove unneeded semicolon

PATCH Applied Qiheng Lin 2 participants 2 messages Apr 6, 2021

Subsystems (4)
lore
Share & tools
lore

Qiheng Lin

author
#0 lore raw

PATCH 1/1 net: ethernet: mtk_eth_soc: remove unneeded semicolon

Eliminate the following coccicheck warning:
drivers/net/ethernet/mediatek/mtk_ppe.c:270:2-3: Unneeded semicolon

---
 drivers/net/ethernet/mediatek/mtk_ppe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mediatek/mtk_ppe.c +1 -1
index a1a9959a2461..71e1ccea6e72 100644
@@ -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]);
Signature · 1 line
2.31.1
#1 lore raw
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

Quoted 7 lines · On Tue, 6 Apr 2021 11:04:33 +0800 you wrote:

Eliminate the following coccicheck warning:
drivers/net/ethernet/mediatek/mtk_ppe.c:270:2-3: Unneeded semicolon

---
 drivers/net/ethernet/mediatek/mtk_ppe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [net-next] net: ethernet: mtk_eth_soc: remove unneeded semicolon

    https://git.kernel.org/netdev/net-next/c/3b2c32f96edc

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html