summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-16 14:15:30 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-17 00:23:58 +0100
commit4c38f74c9186e2bc32789ddab3a95ed384c695d7 (patch)
tree0d8d352940226e42bc70c46f16e33bbfc78acd55
parent0fe875c5c7bc67072b629f13cf1ededcb4da4fb2 (diff)
downloadblackbird-op-linux-4c38f74c9186e2bc32789ddab3a95ed384c695d7.tar.gz
blackbird-op-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>
-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;
OpenPOWER on IntegriCloud