summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c')
-rw-r--r--tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c b/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c
deleted file mode 100644
index f9a622705f1b..000000000000
--- a/tools/testing/selftests/bpf/progs/changes_pkt_data_freplace.c
+++ /dev/null
@@ -1,18 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-
-#include <linux/bpf.h>
-#include <bpf/bpf_helpers.h>
-
-SEC("?freplace")
-long changes_pkt_data(struct __sk_buff *sk)
-{
- return bpf_skb_pull_data(sk, 0);
-}
-
-SEC("?freplace")
-long does_not_change_pkt_data(struct __sk_buff *sk)
-{
- return 0;
-}
-
-char _license[] SEC("license") = "GPL";