netdevsim: fib: remove unneeded semicolon
Subsystems (3)
PATCH v2 1/1 netdevsim: fib: remove unneeded semicolon
Fix the following coccicheck warnings:
./drivers/net/netdevsim/fib.c:564:2-3: Unneeded semicolon.
---
Changes in v2:
- Remove the braces.
drivers/net/netdevsim/fib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/netdevsim/fib.c +1 -2
@@ -559,9 +559,8 @@ static void nsim_fib6_rt_nh_del(struct nsim_fib6_rt *fib6_rt,return fib6_rt; err_fib6_rt_nh_del: -for (i--; i >=0 ; i--) { +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);
Signature · 1 line
1.8.3.1
Quoted 6 lines · Jiapeng Chong
Fix the following coccicheck warnings:
./drivers/net/netdevsim/fib.c:564:2-3: Unneeded semicolon.
Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
Jakub Kicinski
maintainerQuoted 6 lines · On Tue, 23 Feb 2021 10:28:46 +0800 Jiapeng Chong wrote:
Fix the following coccicheck warnings:
./drivers/net/netdevsim/fib.c:564:2-3: Unneeded semicolon.
Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
# Form letter - net-next is closed
We have already sent the networking pull request for 5.12 and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only.
Please repost when net-next reopens after 5.12-rc1 is cut.
Look out for the announcement on the mailing list or check:
http://vger.kernel.org/~davem/net-next.html
RFC patches sent for review only are obviously welcome at any time.