summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mm/on-fault-limit.c
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2023-06-12 14:53:47 +0500
committerAndrew Morton <akpm@linux-foundation.org>2023-06-19 16:19:25 -0700
commit0183d777c29ab12c2b0c19f3d4f5c6df016815fb (patch)
treeee1484b23d7d06785b06a12990aa0ca3e4b49972 /tools/testing/selftests/mm/on-fault-limit.c
parent1e6d1e3645603bc9c9985dd6a437f22d06960b2d (diff)
selftests: mm: remove duplicate unneeded defines
Remove all defines which aren't needed after correctly including the kernel header files. Link: https://lkml.kernel.org/r/20230612095347.996335-2-usama.anjum@collabora.com Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Cc: David Hildenbrand <david@redhat.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Stefan Roesch <shr@devkernel.io> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/mm/on-fault-limit.c')
-rw-r--r--tools/testing/selftests/mm/on-fault-limit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/selftests/mm/on-fault-limit.c b/tools/testing/selftests/mm/on-fault-limit.c
index 634d87dfb2a4..b5888d613f34 100644
--- a/tools/testing/selftests/mm/on-fault-limit.c
+++ b/tools/testing/selftests/mm/on-fault-limit.c
@@ -6,10 +6,6 @@
#include <sys/time.h>
#include <sys/resource.h>
-#ifndef MCL_ONFAULT
-#define MCL_ONFAULT (MCL_FUTURE << 1)
-#endif
-
static int test_limit(void)
{
int ret = 1;