diff options
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_xdp_noinline.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/test_xdp_noinline.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_xdp_noinline.c b/tools/testing/selftests/bpf/progs/test_xdp_noinline.c index 5e4aac74f9d0..4fe6aaad22a4 100644 --- a/tools/testing/selftests/bpf/progs/test_xdp_noinline.c +++ b/tools/testing/selftests/bpf/progs/test_xdp_noinline.c | |||
@@ -15,13 +15,6 @@ | |||
15 | #include <linux/udp.h> | 15 | #include <linux/udp.h> |
16 | #include "bpf_helpers.h" | 16 | #include "bpf_helpers.h" |
17 | 17 | ||
18 | #define bpf_printk(fmt, ...) \ | ||
19 | ({ \ | ||
20 | char ____fmt[] = fmt; \ | ||
21 | bpf_trace_printk(____fmt, sizeof(____fmt), \ | ||
22 | ##__VA_ARGS__); \ | ||
23 | }) | ||
24 | |||
25 | static __u32 rol32(__u32 word, unsigned int shift) | 18 | static __u32 rol32(__u32 word, unsigned int shift) |
26 | { | 19 | { |
27 | return (word << shift) | (word >> ((-shift) & 31)); | 20 | return (word << shift) | (word >> ((-shift) & 31)); |