[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210406030433.6540-1-linqiheng@huawei.com>
Date: Tue, 6 Apr 2021 11:04:33 +0800
From: Qiheng Lin <linqiheng@...wei.com>
To: <nbd@....name>, <john@...ozen.org>, <sean.wang@...iatek.com>,
<Mark-MC.Lee@...iatek.com>, <davem@...emloft.net>,
<kuba@...nel.org>, <matthias.bgg@...il.com>
CC: <netdev@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, "Qiheng Lin" <linqiheng@...wei.com>
Subject: [PATCH net-next] 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
Signed-off-by: Qiheng Lin <linqiheng@...wei.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
Powered by blists - more mailing lists