diff options
author | YueHaibing <[email protected]> | 2023-06-16 14:28:00 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-06-19 14:06:22 +0200 |
commit | e2fa5c2068fbea59e648d1637040ba8494f45104 (patch) | |
tree | 37cc7765d93b8cc32bc19602f13b01d91bd745ac | |
parent | 7f6719f7a8662a40afed367a685516f9f34e7bc2 (diff) |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Maciej Fijalkowski <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
-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) { } |