treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / selftests / bpf / progs / xdp_dummy.c
blobea25e88819928dda30a8a81b21adaba1d07b3919
1 // SPDX-License-Identifier: GPL-2.0
3 #define KBUILD_MODNAME "xdp_dummy"
4 #include <linux/bpf.h>
5 #include <bpf/bpf_helpers.h>
7 SEC("xdp_dummy")
8 int xdp_dummy_prog(struct xdp_md *ctx)
10 return XDP_PASS;
13 char _license[] SEC("license") = "GPL";