[PATCH] selftests/net: so_txtime: remove unneeded semicolon

Subsystems: kernel selftest framework, networking [general], socket timestamping, the rest

STALE2013d

2 messages, 2 authors, 2021-02-08 · open the first message on its own page

[PATCH] selftests/net: so_txtime: remove unneeded semicolon

From: Yang Li <hidden>
Date: 2021-02-08 09:44:05

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

Reported-by: Abaci Robot <redacted>
Signed-off-by: Yang Li <redacted>
---
 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

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-08 23:01:15

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 <redacted>
Signed-off-by: Yang Li <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help