diff mbox series

selftests: cgroup: remove redundant addition of memory controller

Message ID 20240501100620.1461685-1-usamaarif642@gmail.com (mailing list archive)
State New
Headers show
Series selftests: cgroup: remove redundant addition of memory controller | expand

Commit Message

Usama Arif May 1, 2024, 10:06 a.m. UTC
This is already done in main.

Signed-off-by: Usama Arif <usamaarif642@gmail.com>
---
 tools/testing/selftests/cgroup/test_zswap.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Markus Elfring May 1, 2024, 3:36 p.m. UTC | #1
> This is already done in main.

Please improve this change description.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.9-rc6#n45

Will the tag “Fixes” become relevant here (besides an imperative wording)?

Regards,
Markus
diff mbox series

Patch

diff --git a/tools/testing/selftests/cgroup/test_zswap.c b/tools/testing/selftests/cgroup/test_zswap.c
index fe0e7221525c..22cf586d2438 100644
--- a/tools/testing/selftests/cgroup/test_zswap.c
+++ b/tools/testing/selftests/cgroup/test_zswap.c
@@ -445,8 +445,6 @@  static int test_no_kmem_bypass(const char *root)
 	trigger_allocation_size = sys_info.totalram / 20;
 
 	/* Set up test memcg */
-	if (cg_write(root, "cgroup.subtree_control", "+memory"))
-		goto out;
 	test_group = cg_name(root, "kmem_bypass_test");
 	if (!test_group)
 		goto out;