summaryrefslogtreecommitdiffstats
path: root/tools
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-13 09:09:29 +0200
commit792de67fce1f805a0e7f167b37886206966117c1 (patch)
treed01b6143f466a0cc8a4130130c5f192fd40fd452 /tools
parent2579073588ece7163366b00c397d38312c08a477 (diff)
downloadlinux-stable-792de67fce1f805a0e7f167b37886206966117c1.tar.gz
linux-stable-792de67fce1f805a0e7f167b37886206966117c1.tar.bz2
linux-stable-792de67fce1f805a0e7f167b37886206966117c1.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>
Diffstat (limited to 'tools')
-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 264fbc297e0b..881bad578f1e 100644
--- a/tools/vm/page-types.c
+++ b/tools/vm/page-types.c
@@ -151,12 +151,6 @@ static const char * const page_flag_names[] = {
};
-static const char * const debugfs_known_mountpoints[] = {
- "/sys/kernel/debug",
- "/debug",
- 0,
-};
-
/*
* data structures
*/