lkml.org 
[lkml]   [2017]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm/slab: Merge adjacent debug sections
Date
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
mm/slab.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/mm/slab.c b/mm/slab.c
index 70be5823227dcb3e..dd8c6d33f59a11d1 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1569,9 +1569,6 @@ static void dump_line(char *data, int offset, int limit)
}
}
}
-#endif
-
-#if DEBUG

static void print_objinfo(struct kmem_cache *cachep, void *objp, int lines)
{
@@ -1661,9 +1658,7 @@ static void check_poison_obj(struct kmem_cache *cachep, void *objp)
}
}
}
-#endif

-#if DEBUG
static void slab_destroy_debugcheck(struct kmem_cache *cachep,
struct page *page)
{
--
2.7.4
\
 
 \ /
  Last update: 2017-12-07 11:20    [W:0.278 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site