aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/tcp_tos_reflect_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/tcp_tos_reflect_kern.c')
-rw-r--r--samples/bpf/tcp_tos_reflect_kern.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/samples/bpf/tcp_tos_reflect_kern.c b/samples/bpf/tcp_tos_reflect_kern.c
index de788be6f862..369faca70a15 100644
--- a/samples/bpf/tcp_tos_reflect_kern.c
+++ b/samples/bpf/tcp_tos_reflect_kern.c
@@ -20,13 +20,6 @@
20 20
21#define DEBUG 1 21#define DEBUG 1
22 22
23#define bpf_printk(fmt, ...) \
24({ \
25 char ____fmt[] = fmt; \
26 bpf_trace_printk(____fmt, sizeof(____fmt), \
27 ##__VA_ARGS__); \
28})
29
30SEC("sockops") 23SEC("sockops")
31int bpf_basertt(struct bpf_sock_ops *skops) 24int bpf_basertt(struct bpf_sock_ops *skops)
32{ 25{