netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] bpf, arm: Remove unused function emit_a32_alu_r()
@ 2022-06-11  4:09 YueHaibing
  2022-06-14 20:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2022-06-11  4:09 UTC (permalink / raw)
  To: illusionist.neo, linux, ast, daniel, andrii, kafai,
	songliubraving, yhs, john.fastabend, kpsingh, johan.almbladh
  Cc: netdev, bpf, linux-arm-kernel, linux-kernel, YueHaibing

Since commit b18bea2a45b1 ("ARM: net: bpf: improve 64-bit ALU implementation")
this is unused anymore, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 arch/arm/net/bpf_jit_32.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index 9e457156ad4d..6a1c9fca5260 100644
--- a/arch/arm/net/bpf_jit_32.c
+++ b/arch/arm/net/bpf_jit_32.c
@@ -712,22 +712,6 @@ static inline void emit_alu_r(const u8 dst, const u8 src, const bool is64,
 	}
 }
 
-/* ALU operation (32 bit)
- * dst = dst (op) src
- */
-static inline void emit_a32_alu_r(const s8 dst, const s8 src,
-				  struct jit_ctx *ctx, const bool is64,
-				  const bool hi, const u8 op) {
-	const s8 *tmp = bpf2a32[TMP_REG_1];
-	s8 rn, rd;
-
-	rn = arm_bpf_get_reg32(src, tmp[1], ctx);
-	rd = arm_bpf_get_reg32(dst, tmp[0], ctx);
-	/* ALU operation */
-	emit_alu_r(rd, rn, is64, hi, op, ctx);
-	arm_bpf_put_reg32(dst, rd, ctx);
-}
-
 /* ALU operation (64 bit) */
 static inline void emit_a32_alu_r64(const bool is64, const s8 dst[],
 				  const s8 src[], struct jit_ctx *ctx,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] bpf, arm: Remove unused function emit_a32_alu_r()
  2022-06-11  4:09 [PATCH -next] bpf, arm: Remove unused function emit_a32_alu_r() YueHaibing
@ 2022-06-14 20:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-06-14 20:10 UTC (permalink / raw)
  To: YueHaibing
  Cc: illusionist.neo, linux, ast, daniel, andrii, kafai,
	songliubraving, yhs, john.fastabend, kpsingh, johan.almbladh,
	netdev, bpf, linux-arm-kernel, linux-kernel

Hello:

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

On Sat, 11 Jun 2022 12:09:04 +0800 you wrote:
> Since commit b18bea2a45b1 ("ARM: net: bpf: improve 64-bit ALU implementation")
> this is unused anymore, so can remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  arch/arm/net/bpf_jit_32.c | 16 ----------------
>  1 file changed, 16 deletions(-)

Here is the summary with links:
  - [-next] bpf, arm: Remove unused function emit_a32_alu_r()
    https://git.kernel.org/bpf/bpf-next/c/fc386ba7211d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-14 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11  4:09 [PATCH -next] bpf, arm: Remove unused function emit_a32_alu_r() YueHaibing
2022-06-14 20:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).