Skip to content

Commit 2d98144

Browse files
andrealmeidKAGA-KOKO
authored andcommitted
selftests/futex: Remove unused test_futex_mpol()
Commit ed323ae ("selftest/futex: Compile also with libnuma < 2.0.16") removed the unused function test_futex_mpol() and commit d35ca2f ("selftests/futex: Refactor futex_numa_mpol with kselftest_harness.h") added it back by accident. Remove it again. Fixes: d35ca2f ("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
1 parent 3a86608 commit 2d98144

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tools/testing/selftests/futex/functional/futex_numa_mpol.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ static void test_futex(void *futex_ptr, int err_value)
131131
__test_futex(futex_ptr, err_value, FUTEX2_SIZE_U32 | FUTEX_PRIVATE_FLAG | FUTEX2_NUMA);
132132
}
133133

134-
static void test_futex_mpol(void *futex_ptr, int err_value)
135-
{
136-
__test_futex(futex_ptr, err_value, FUTEX2_SIZE_U32 | FUTEX_PRIVATE_FLAG | FUTEX2_NUMA | FUTEX2_MPOL);
137-
}
138-
139134
TEST(futex_numa_mpol)
140135
{
141136
struct futex32_numa *futex_numa;

0 commit comments

Comments
 (0)