[LTP] [PATCH 10/13] mem/swapping: Remove mem/lib refrence

Cyril Hrubis
2024-12-18T18:48:49Z

The test does not use the library at all!

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/kernel/mem/swapping/Makefile | 1 -
testcases/kernel/mem/swapping/swapping01.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/testcases/kernel/mem/swapping/Makefile b/testcases/kernel/mem/swapping/Makefile
index dd55fb8dc..d7ddac44c 100644
--- a/testcases/kernel/mem/swapping/Makefile
+++ b/testcases/kernel/mem/swapping/Makefile
@@ -19,5 +19,4 @@
top_srcdir ?= ../../../..

include $(top_srcdir)/include/mk/testcases.mk
-include $(top_srcdir)/testcases/kernel/mem/include/libmem.mk
include $(top_srcdir)/include/mk/generic_leaf_target.mk
diff --git a/testcases/kernel/mem/swapping/swapping01.c b/testcases/kernel/mem/swapping/swapping01.c
index 79dd2b4d5..bd1f6cc19 100644
--- a/testcases/kernel/mem/swapping/swapping01.c
+++ b/testcases/kernel/mem/swapping/swapping01.c
@@ -40,8 +40,8 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include "tst_test.h"
#include "tst_safe_stdio.h"
-#include "mem.h"

/* allow swapping 1 * phy_mem in maximum */
#define COE_DELTA 1
--
2.45.2