aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/xdp_sock_drv.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2023-06-16 14:28:00 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2023-06-19 14:06:22 +0200
commite2fa5c2068fbea59e648d1637040ba8494f45104 (patch)
tree37cc7765d93b8cc32bc19602f13b01d91bd745ac /include/net/xdp_sock_drv.h
parentbpf: Keep BPF_PROG_LOAD permission checks clear of validations (diff)
downloadwireguard-linux-e2fa5c2068fbea59e648d1637040ba8494f45104.tar.xz
wireguard-linux-e2fa5c2068fbea59e648d1637040ba8494f45104.zip
xsk: Remove unused inline function xsk_buff_discard()
commit f2f167583601 ("xsk: Remove unused xsk_buff_discard") left behind this, remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Simon Horman <simon.horman@corigine.com> Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Link: https://lore.kernel.org/bpf/20230616062800.30780-1-yuehaibing@huawei.com
Diffstat (limited to 'include/net/xdp_sock_drv.h')
-rw-r--r--include/net/xdp_sock_drv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/xdp_sock_drv.h b/include/net/xdp_sock_drv.h
index 9c0d860609ba..c243f906ebed 100644
--- a/include/net/xdp_sock_drv.h
+++ b/include/net/xdp_sock_drv.h
@@ -255,10 +255,6 @@ static inline void xsk_buff_free(struct xdp_buff *xdp)
{
}
-static inline void xsk_buff_discard(struct xdp_buff *xdp)
-{
-}
-
static inline void xsk_buff_set_size(struct xdp_buff *xdp, u32 size)
{
}