projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe875c
)
samples/bpf: Fix trailing semicolon
author
Luis de Bethencourt
<luisbg@kernel.org>
Tue, 16 Jan 2018 14:15:30 +0000
(14:15 +0000)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/samples/bpf/xdp_monitor_kern.c
b/samples/bpf/xdp_monitor_kern.c
index 2fe2f761a0d05148446c4e9201067dea0dd00f60..c969141bfa8bc2cff506a9fe3ea1c4043c7e03ee 100644
(file)
--- 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;