summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-16 15:15:30 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-17 00:23:58 +0100
commit4c38f74c9186e2bc32789ddab3a95ed384c695d7 (patch)
tree0d8d352940226e42bc70c46f16e33bbfc78acd55 /samples
parentbpf: cpumap: make some functions static (diff)
downloadlinux-4c38f74c9186e2bc32789ddab3a95ed384c695d7.tar.xz
linux-4c38f74c9186e2bc32789ddab3a95ed384c695d7.zip
samples/bpf: Fix trailing semicolon
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt <luisbg@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/xdp_monitor_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/xdp_monitor_kern.c b/samples/bpf/xdp_monitor_kern.c
index 2fe2f761a0d0..c969141bfa8b 100644
--- a/samples/bpf/xdp_monitor_kern.c
+++ b/samples/bpf/xdp_monitor_kern.c
@@ -104,7 +104,7 @@ struct xdp_exception_ctx {
SEC("tracepoint/xdp/xdp_exception")
int trace_xdp_exception(struct xdp_exception_ctx *ctx)
{
- u64 *cnt;;
+ u64 *cnt;
u32 key;
key = ctx->act;