diff options
author | YueHaibing <yuehaibing@huawei.com> | 2023-06-16 08:28:00 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-06-19 14:06:22 +0200 |
commit | e2fa5c2068fbea59e648d1637040ba8494f45104 (patch) | |
tree | 37cc7765d93b8cc32bc19602f13b01d91bd745ac /include/net | |
parent | bpf: Keep BPF_PROG_LOAD permission checks clear of validations (diff) | |
download | linux-e2fa5c2068fbea59e648d1637040ba8494f45104.tar.xz 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')
-rw-r--r-- | include/net/xdp_sock_drv.h | 4 |
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) { } |