projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58c464
)
net: ethernet: mtk_eth_soc: remove unneeded semicolon
author
Qiheng Lin
<linqiheng@huawei.com>
Tue, 6 Apr 2021 03:04:33 +0000
(11:04 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 Apr 2021 23:27:00 +0000
(16:27 -0700)
Eliminate the following coccicheck warning:
drivers/net/ethernet/mediatek/mtk_ppe.c:270:2-3: Unneeded semicolon
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_ppe.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mediatek/mtk_ppe.c
b/drivers/net/ethernet/mediatek/mtk_ppe.c
index a1a9959a24615493567bc0617504e8a4a7ed1daa..71e1ccea6e728bf50ee794a1869036f12001342d 100644
(file)
--- 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]);