samples/bpf: Fix trailing semicolon
Subsystems (4)
PATCH 1/1 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 <[email protected]>
---
Hi,
After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].
Best regards
Luis
[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html
samples/bpf/xdp_monitor_kern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
samples/bpf/xdp_monitor_kern.c +1 -1
@@ -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;
Signature · 1 line
2.15.1
Quoted 4 lines · Luis de Bethencourt
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]>
Applied to bpf-next, thanks Luis!