projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6719f
)
xsk: Remove unused inline function xsk_buff_discard()
author
YueHaibing
<yuehaibing@huawei.com>
Fri, 16 Jun 2023 06:28:00 +0000
(14:28 +0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Mon, 19 Jun 2023 12:06:22 +0000
(14:06 +0200)
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
include/net/xdp_sock_drv.h
patch
|
blob
|
history
diff --git
a/include/net/xdp_sock_drv.h
b/include/net/xdp_sock_drv.h
index 9c0d860609ba9479f727b23c7456b45270416659..c243f906ebed40109fc5742ca836784cda00f9d3 100644
(file)
--- 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)
{
}