[PATCH v2 bpf-next] xsk: Remove unused inline function xsk_buff_discard()

YueHaibing posted 1 patch 2 years, 7 months ago
include/net/xdp_sock_drv.h | 4 ----
1 file changed, 4 deletions(-)
[PATCH v2 bpf-next] xsk: Remove unused inline function xsk_buff_discard()
Posted by YueHaibing 2 years, 7 months ago
commit f2f167583601 ("xsk: Remove unused xsk_buff_discard")
left behind this, remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
---
v2: resend to bpf-next tree
---
 include/net/xdp_sock_drv.h | 4 ----
 1 file changed, 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)
 {
 }
-- 
2.34.1
Re: [PATCH v2 bpf-next] xsk: Remove unused inline function xsk_buff_discard()
Posted by patchwork-bot+netdevbpf@kernel.org 2 years, 7 months ago
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Fri, 16 Jun 2023 14:28:00 +0800 you wrote:
> commit f2f167583601 ("xsk: Remove unused xsk_buff_discard")
> left behind this, remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> ---
> v2: resend to bpf-next tree
> 
> [...]

Here is the summary with links:
  - [v2,bpf-next] xsk: Remove unused inline function xsk_buff_discard()
    https://git.kernel.org/bpf/bpf-next/c/e2fa5c2068fb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Re: [PATCH v2 bpf-next] xsk: Remove unused inline function xsk_buff_discard()
Posted by Simon Horman 2 years, 7 months ago
On Fri, Jun 16, 2023 at 02:28:00PM +0800, YueHaibing wrote:
> commit f2f167583601 ("xsk: Remove unused xsk_buff_discard")
> left behind this, remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>

Reviewed-by: Simon Horman <simon.horman@corigine.com>