linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] tools/vm/page-types.c: fix "defined but not used" warning
@ 2018-08-24  9:24 Naoya Horiguchi
  0 siblings, 0 replies; only message in thread
From: Naoya Horiguchi @ 2018-08-24  9:24 UTC (permalink / raw)
  To: linux-mm, linux-kernel; +Cc: Andrew Morton

debugfs_known_mountpoints[] is not used any more, so let's remove it.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
---
 tools/vm/page-types.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git v4.18-mmotm-2018-08-17-15-48/tools/vm/page-types.c v4.18-mmotm-2018-08-17-15-48_patched/tools/vm/page-types.c
index 30cb0a0..37908a8 100644
--- v4.18-mmotm-2018-08-17-15-48/tools/vm/page-types.c
+++ v4.18-mmotm-2018-08-17-15-48_patched/tools/vm/page-types.c
@@ -159,12 +159,6 @@ static const char * const page_flag_names[] = {
 };
 
 
-static const char * const debugfs_known_mountpoints[] = {
-	"/sys/kernel/debug",
-	"/debug",
-	0,
-};
-
 /*
  * data structures
  */
-- 
2.7.0

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

only message in thread, other threads:[~2018-08-24  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-24  9:24 [PATCH v1] tools/vm/page-types.c: fix "defined but not used" warning Naoya Horiguchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox