samples/bpf: Fix trailing semicolon
authorLuis de Bethencourt <luisbg@kernel.org>
Tue, 16 Jan 2018 14:15:30 +0000 (14:15 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 16 Jan 2018 23:23:58 +0000 (00:23 +0100)
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>
samples/bpf/xdp_monitor_kern.c

index 2fe2f761a0d05148446c4e9201067dea0dd00f60..c969141bfa8bc2cff506a9fe3ea1c4043c7e03ee 100644 (file)
@@ -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;