]>
Commit | Line | Data |
---|---|---|
12eb7899 GKH |
1 | From foo@baz Thu Oct 4 12:38:43 PDT 2018 |
2 | From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | |
3 | Date: Tue, 4 Sep 2018 15:45:51 -0700 | |
4 | Subject: tools/vm/page-types.c: fix "defined but not used" warning | |
5 | ||
6 | From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | |
7 | ||
8 | [ Upstream commit 7ab660f8baecfe26c1c267fa8e64d2073feae2bb ] | |
9 | ||
10 | debugfs_known_mountpoints[] is not used any more, so let's remove it. | |
11 | ||
12 | Link: http://lkml.kernel.org/r/1535102651-19418-1-git-send-email-n-horiguchi@ah.jp.nec.com | |
13 | Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | |
14 | Reviewed-by: Andrew Morton <akpm@linux-foundation.org> | |
15 | Cc: Matthew Wilcox <willy@infradead.org> | |
16 | Signed-off-by: Andrew Morton <akpm@linux-foundation.org> | |
17 | Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | |
18 | Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> | |
19 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
20 | --- | |
21 | tools/vm/page-types.c | 6 ------ | |
22 | 1 file changed, 6 deletions(-) | |
23 | ||
24 | --- a/tools/vm/page-types.c | |
25 | +++ b/tools/vm/page-types.c | |
26 | @@ -155,12 +155,6 @@ static const char * const page_flag_name | |
27 | }; | |
28 | ||
29 | ||
30 | -static const char * const debugfs_known_mountpoints[] = { | |
31 | - "/sys/kernel/debug", | |
32 | - "/debug", | |
33 | - 0, | |
34 | -}; | |
35 | - | |
36 | /* | |
37 | * data structures | |
38 | */ |