summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2018-09-04 15:45:51 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-10 08:55:57 +0200
commit20107ca73afeeb40e758e13f88247c3d426cf64f (patch)
treea5811f8ab649ea38503a9ad7b4c05716490501a3
parent9f62a57c667018cf884cef8125c31580aa87759c (diff)
downloadlinux-stable-20107ca73afeeb40e758e13f88247c3d426cf64f.tar.gz
linux-stable-20107ca73afeeb40e758e13f88247c3d426cf64f.tar.bz2
linux-stable-20107ca73afeeb40e758e13f88247c3d426cf64f.zip
tools/vm/page-types.c: fix "defined but not used" warning
[ Upstream commit 7ab660f8baecfe26c1c267fa8e64d2073feae2bb ] debugfs_known_mountpoints[] is not used any more, so let's remove it. Link: http://lkml.kernel.org/r/1535102651-19418-1-git-send-email-n-horiguchi@ah.jp.nec.com Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--tools/vm/page-types.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/vm/page-types.c b/tools/vm/page-types.c
index cce853dca691..a4c31fb2887b 100644
--- a/tools/vm/page-types.c
+++ b/tools/vm/page-types.c
@@ -156,12 +156,6 @@ static const char * const page_flag_names[] = {
};
-static const char * const debugfs_known_mountpoints[] = {
- "/sys/kernel/debug",
- "/debug",
- 0,
-};
-
/*
* data structures
*/