summaryrefslogtreecommitdiff
path: root/samples/bpf/tcp_cong_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/tcp_cong_kern.c')
-rw-r--r--samples/bpf/tcp_cong_kern.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/samples/bpf/tcp_cong_kern.c b/samples/bpf/tcp_cong_kern.c
index 4fd3ca979a06..6d4dc4c7dd1e 100644
--- a/samples/bpf/tcp_cong_kern.c
+++ b/samples/bpf/tcp_cong_kern.c
@@ -21,13 +21,6 @@
#define DEBUG 1
-#define bpf_printk(fmt, ...) \
-({ \
- char ____fmt[] = fmt; \
- bpf_trace_printk(____fmt, sizeof(____fmt), \
- ##__VA_ARGS__); \
-})
-
SEC("sockops")
int bpf_cong(struct bpf_sock_ops *skops)
{