diff mbox series

[1/2] kselftest/arm64: Remove the local NUM_VL definition

Message ID 20221218092942.1940-1-yuzenghui@huawei.com (mailing list archive)
State Accepted
Commit 00598857e38f56963116a6d70f7d64a29959bce9
Headers show
Series [1/2] kselftest/arm64: Remove the local NUM_VL definition | expand

Commit Message

Zenghui Yu Dec. 18, 2022, 9:29 a.m. UTC
It was introduced in commit b77e995e3b96 ("kselftest/arm64: Add a test
program to exercise the syscall ABI") but never actually used. Remove it.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
---
 tools/testing/selftests/arm64/abi/syscall-abi.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown Dec. 19, 2022, 11:50 a.m. UTC | #1
On Sun, Dec 18, 2022 at 05:29:41PM +0800, Zenghui Yu wrote:
> It was introduced in commit b77e995e3b96 ("kselftest/arm64: Add a test
> program to exercise the syscall ABI") but never actually used. Remove it.

Reviewed-by: Mark Brown <broonie@kernel.org>
Catalin Marinas Jan. 20, 2023, 6:17 p.m. UTC | #2
On Sun, 18 Dec 2022 17:29:41 +0800, Zenghui Yu wrote:
> It was introduced in commit b77e995e3b96 ("kselftest/arm64: Add a test
> program to exercise the syscall ABI") but never actually used. Remove it.
> 
> 

Applied to arm64 (for-next/kselftest), thanks!

[1/2] kselftest/arm64: Remove the local NUM_VL definition
      https://git.kernel.org/arm64/c/00598857e38f
[2/2] kselftest/arm64: Correct buffer size for SME ZA storage
      https://git.kernel.org/arm64/c/daac835347a5
diff mbox series

Patch

diff --git a/tools/testing/selftests/arm64/abi/syscall-abi.c b/tools/testing/selftests/arm64/abi/syscall-abi.c
index 9800f9dc6b35..24a498029c78 100644
--- a/tools/testing/selftests/arm64/abi/syscall-abi.c
+++ b/tools/testing/selftests/arm64/abi/syscall-abi.c
@@ -20,8 +20,6 @@ 
 
 #include "syscall-abi.h"
 
-#define NUM_VL ((SVE_VQ_MAX - SVE_VQ_MIN) + 1)
-
 static int default_sme_vl;
 
 extern void do_syscall(int sve_vl, int sme_vl);