lkml.org 
[lkml]   [2018]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.18 082/120] tools/vm/page-types.c: fix "defined but not used" warning
    Date
    3.18-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>

    [ 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>
    ---
    tools/vm/page-types.c | 6 ------
    1 file changed, 6 deletions(-)

    --- a/tools/vm/page-types.c
    +++ b/tools/vm/page-types.c
    @@ -151,12 +151,6 @@ static const char * const page_flag_name
    };


    -static const char * const debugfs_known_mountpoints[] = {
    - "/sys/kernel/debug",
    - "/debug",
    - 0,
    -};
    -
    /*
    * data structures
    */

    \
     
     \ /
      Last update: 2018-10-11 18:01    [W:4.062 / U:0.300 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site