]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/futex: Remove unused test_futex_mpol()
authorAndré Almeida <andrealmeid@igalia.com>
Wed, 1 Oct 2025 22:04:38 +0000 (19:04 -0300)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Nov 2025 13:39:36 +0000 (14:39 +0100)
Commit ed323aeda5e09 ("selftest/futex: Compile also with libnuma <
2.0.16") removed the unused function test_futex_mpol() and commit
d35ca2f64272 ("selftests/futex: Refactor futex_numa_mpol with
kselftest_harness.h") added it back by accident. Remove it again.

Fixes: d35ca2f64272 ("selftests/futex: Refactor futex_numa_mpol with kselftest_harness.h")
Signed-off-by: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251001220438.66227-1-andrealmeid@igalia.com
tools/testing/selftests/futex/functional/futex_numa_mpol.c

index d037a3f10ee85d796fde1df11f920ed14c06a7a4..969c73c4b33b98cba63e9c65e2269b9b9f0b6bad 100644 (file)
@@ -131,11 +131,6 @@ static void test_futex(void *futex_ptr, int err_value)
        __test_futex(futex_ptr, err_value, FUTEX2_SIZE_U32 | FUTEX_PRIVATE_FLAG | FUTEX2_NUMA);
 }
 
-static void test_futex_mpol(void *futex_ptr, int err_value)
-{
-       __test_futex(futex_ptr, err_value, FUTEX2_SIZE_U32 | FUTEX_PRIVATE_FLAG | FUTEX2_NUMA | FUTEX2_MPOL);
-}
-
 TEST(futex_numa_mpol)
 {
        struct futex32_numa *futex_numa;