Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752418AbdLGKS7 (ORCPT ); Thu, 7 Dec 2017 05:18:59 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:37508 "EHLO xavier.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbdLGKS6 (ORCPT ); Thu, 7 Dec 2017 05:18:58 -0500 From: Geert Uytterhoeven To: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] mm/slab: Merge adjacent debug sections Date: Thu, 7 Dec 2017 11:18:52 +0100 Message-Id: <1512641932-5221-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 653 Lines: 31 Signed-off-by: Geert Uytterhoeven --- 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