[PATCH] samples: bpf: remove unneeded semicolon

Subsystems: bpf [general] (safe dynamic programs and tools), the rest

STALE2008d LANDED

Landed in mainline as 1132b9987a3f on 2021-02-03.

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

[PATCH] samples: bpf: remove unneeded semicolon

From: Yang Li <hidden>
Date: 2021-02-03 03:22:35

Eliminate the following coccicheck warning:
./samples/bpf/cookie_uid_helper_example.c:316:3-4: Unneeded semicolon

Reported-by: Abaci Robot <redacted>
Signed-off-by: Yang Li <redacted>
---
 samples/bpf/cookie_uid_helper_example.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/bpf/cookie_uid_helper_example.c b/samples/bpf/cookie_uid_helper_example.c
index deb0e3e..f364eaa 100644
--- a/samples/bpf/cookie_uid_helper_example.c
+++ b/samples/bpf/cookie_uid_helper_example.c
@@ -313,7 +313,7 @@ int main(int argc, char *argv[])
 			print_table();
 			printf("\n");
 			sleep(1);
-		};
+		}
 	} else if (cfg_test_cookie) {
 		udp_client();
 	}
-- 
1.8.3.1

Re: [PATCH] samples: bpf: remove unneeded semicolon

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-03 05:41:05

Hello:

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

On Wed,  3 Feb 2021 11:17:28 +0800 you wrote:
Eliminate the following coccicheck warning:
./samples/bpf/cookie_uid_helper_example.c:316:3-4: Unneeded semicolon

Reported-by: Abaci Robot <redacted>
Signed-off-by: Yang Li <redacted>
---
 samples/bpf/cookie_uid_helper_example.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
  - samples: bpf: remove unneeded semicolon
    https://git.kernel.org/bpf/bpf-next/c/1132b9987a3f

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