summaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim/fib.c
diff options
context:
space:
mode:
authorQiheng Lin <linqiheng@huawei.com>2021-04-06 05:18:13 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-07 01:27:33 +0200
commitbe107538c5296fb888938ec3a32da21bb1733655 (patch)
tree48d80ab111d7e69f319e917e97c5879b923cee34 /drivers/net/netdevsim/fib.c
parentnet: ethernet: mtk_eth_soc: remove unneeded semicolon (diff)
downloadlinux-be107538c5296fb888938ec3a32da21bb1733655.tar.xz
linux-be107538c5296fb888938ec3a32da21bb1733655.zip
netdevsim: remove unneeded semicolon
Eliminate the following coccicheck warning: drivers/net/netdevsim/fib.c:569:2-3: Unneeded semicolon Signed-off-by: Qiheng Lin <linqiheng@huawei.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/fib.c')
-rw-r--r--drivers/net/netdevsim/fib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netdevsim/fib.c b/drivers/net/netdevsim/fib.c
index fda6f37e7055..213d3e5056c8 100644
--- a/drivers/net/netdevsim/fib.c
+++ b/drivers/net/netdevsim/fib.c
@@ -566,7 +566,7 @@ nsim_fib6_rt_create(struct nsim_fib_data *data,
err_fib6_rt_nh_del:
for (i--; i >= 0; i--) {
nsim_fib6_rt_nh_del(fib6_rt, rt_arr[i]);
- };
+ }
nsim_fib_rt_fini(&fib6_rt->common);
kfree(fib6_rt);
return ERR_PTR(err);