summaryrefslogtreecommitdiff
path: root/samples/bpf/lwt_len_hist_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/lwt_len_hist_kern.c')
-rw-r--r--samples/bpf/lwt_len_hist_kern.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/samples/bpf/lwt_len_hist_kern.c b/samples/bpf/lwt_len_hist_kern.c
index 9ed63e10e170..1fa14c54963a 100644
--- a/samples/bpf/lwt_len_hist_kern.c
+++ b/samples/bpf/lwt_len_hist_kern.c
@@ -16,13 +16,6 @@
#include <uapi/linux/in.h>
#include <bpf/bpf_helpers.h>
-# define printk(fmt, ...) \
- ({ \
- char ____fmt[] = fmt; \
- bpf_trace_printk(____fmt, sizeof(____fmt), \
- ##__VA_ARGS__); \
- })
-
struct bpf_elf_map {
__u32 type;
__u32 size_key;