projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2c32f
)
netdevsim: remove unneeded semicolon
author
Qiheng Lin
<linqiheng@huawei.com>
Tue, 6 Apr 2021 03:18:13 +0000
(11:18 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 Apr 2021 23:27:33 +0000
(16:27 -0700)
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>
drivers/net/netdevsim/fib.c
patch
|
blob
|
history
diff --git
a/drivers/net/netdevsim/fib.c
b/drivers/net/netdevsim/fib.c
index
fda6f37
..
213d3e5
100644
(file)
--- 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);