2021-02-08 09:46:57

by Yang Li

[permalink] [raw]
Subject: [PATCH] selftests/net: so_txtime: remove unneeded semicolon

Eliminate the following coccicheck warning:
./tools/testing/selftests/net/so_txtime.c:199:3-4: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
tools/testing/selftests/net/so_txtime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/so_txtime.c b/tools/testing/selftests/net/so_txtime.c
index 3155fbb..b4cca382d 100644
--- a/tools/testing/selftests/net/so_txtime.c
+++ b/tools/testing/selftests/net/so_txtime.c
@@ -196,7 +196,7 @@ static void do_recv_errqueue_timeout(int fdt)
default:
error(1, 0, "errqueue: errno %u code %u\n",
err->ee_errno, err->ee_code);
- };
+ }

tstamp = ((int64_t) err->ee_data) << 32 | err->ee_info;
tstamp -= (int64_t) glob_tstart;
--
1.8.3.1


2021-02-08 23:15:10

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] selftests/net: so_txtime: remove unneeded semicolon

Hello:

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

On Mon, 8 Feb 2021 17:33:38 +0800 you wrote:
> Eliminate the following coccicheck warning:
> ./tools/testing/selftests/net/so_txtime.c:199:3-4: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> tools/testing/selftests/net/so_txtime.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- selftests/net: so_txtime: remove unneeded semicolon
https://git.kernel.org/netdev/net-next/c/c85b3bb7b650

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