mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [failures] selftest-vm_util-remove-unused-variables.patch removed from -mm tree
@ 2025-11-05 22:34 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-11-05 22:34 UTC (permalink / raw)
  To: mm-commits, thomas.weissschuh, david, zhangchujun, akpm

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]


The quilt patch titled
     Subject: selftest/vm_util: remove unused variables
has been removed from the -mm tree.  Its filename was
     selftest-vm_util-remove-unused-variables.patch

This patch was dropped because it had testing failures

------------------------------------------------------
From: Zhang Chujun <zhangchujun@cmss.chinamobile.com>
Subject: selftest/vm_util: remove unused variables
Date: Tue, 4 Nov 2025 14:28:55 +0800

The global variables __page_size and __page_shift are declared in
vm_util.c, but they are never used anywhere in the codebase.  This patch
removes them to clean up the source and eliminate dead code.

Link: https://lkml.kernel.org/r/20251104062855.2468-1-zhangchujun@cmss.chinamobile.com
Signed-off-by: Zhang Chujun <zhangchujun@cmss.chinamobile.com>
Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>
Cc: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 tools/testing/selftests/mm/vm_util.c |    3 ---
 1 file changed, 3 deletions(-)

--- a/tools/testing/selftests/mm/vm_util.c~selftest-vm_util-remove-unused-variables
+++ a/tools/testing/selftests/mm/vm_util.c
@@ -17,9 +17,6 @@
 #define STATUS_FILE_PATH "/proc/self/status"
 #define MAX_LINE_LENGTH 500
 
-unsigned int __page_size;
-unsigned int __page_shift;
-
 uint64_t pagemap_get_entry(int fd, char *start)
 {
 	const unsigned long pfn = (unsigned long)start / getpagesize();
_

Patches currently in -mm which might be from zhangchujun@cmss.chinamobile.com are

mm-debug-fix-missing-space-in-case-statement.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-05 22:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-05 22:34 [failures] selftest-vm_util-remove-unused-variables.patch removed from -mm tree Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).