Skip to contentSkip to conversation

netdevsim: remove unneeded semicolon

PATCH Applied Qiheng Lin 3 participants 3 messages Apr 6, 2021

Subsystems (3)
lore
Share & tools
lore

Qiheng Lin

author
#0 lore raw

PATCH 1/1 netdevsim: remove unneeded semicolon

Eliminate the following coccicheck warning:
drivers/net/netdevsim/fib.c:569:2-3: Unneeded semicolon

---
 drivers/net/netdevsim/fib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/netdevsim/fib.c +1 -1
index fda6f37e7055..213d3e5056c8 100644
@@ -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);
Signature · 1 line
2.31.1
#2 lore raw
In reply to Qiheng Lin
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

Quoted 7 lines · On Tue, 6 Apr 2021 11:18:13 +0800 you wrote:

Eliminate the following coccicheck warning:
drivers/net/netdevsim/fib.c:569:2-3: Unneeded semicolon

---
 drivers/net/netdevsim/fib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [net-next] netdevsim: remove unneeded semicolon

    https://git.kernel.org/netdev/net-next/c/be107538c529

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html