Skip to content

Commit

Permalink
samples/bpf: Fix trailing semicolon
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
  • Loading branch information
luisbg authored and borkmann committed Jan 16, 2018
1 parent 0fe875c commit 4c38f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/bpf/xdp_monitor_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4c38f74

Please sign in to comment.