Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757407AbYCJUQc (ORCPT ); Mon, 10 Mar 2008 16:16:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755242AbYCJUMb (ORCPT ); Mon, 10 Mar 2008 16:12:31 -0400 Received: from saeurebad.de ([85.214.36.134]:47429 "EHLO saeurebad.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755049AbYCJUMa (ORCPT ); Mon, 10 Mar 2008 16:12:30 -0400 From: Johannes Weiner To: Linux Kernel Mailing List Cc: Jesper Juhl , Johannes Weiner Subject: [PATCH] ia64: Remove redundant display of free swap space in show_mem() Date: Mon, 10 Mar 2008 21:11:02 +0100 Message-Id: <12051798742672-git-send-email-hannes@saeurebad.de> X-Mailer: git-send-email 1.5.2.2 In-Reply-To: <12051798631122-git-send-email-hannes@saeurebad.de> References: <12051798631122-git-send-email-hannes@saeurebad.de> CC: Tony Luck X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1325 Lines: 39 Signed-off-by: Johannes Weiner --- arch/ia64/mm/contig.c | 2 -- arch/ia64/mm/discontig.c | 2 -- 2 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c index 344f64e..0479661 100644 --- a/arch/ia64/mm/contig.c +++ b/arch/ia64/mm/contig.c @@ -45,8 +45,6 @@ void show_mem(void) printk(KERN_INFO "Mem-info:\n"); show_free_areas(); - printk(KERN_INFO "Free swap: %6ldkB\n", - nr_swap_pages<<(PAGE_SHIFT-10)); printk(KERN_INFO "Node memory in pages:\n"); for_each_online_pgdat(pgdat) { unsigned long present; diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c index ee5e68b..ffee1ea 100644 --- a/arch/ia64/mm/discontig.c +++ b/arch/ia64/mm/discontig.c @@ -522,8 +522,6 @@ void show_mem(void) printk(KERN_INFO "Mem-info:\n"); show_free_areas(); - printk(KERN_INFO "Free swap: %6ldkB\n", - nr_swap_pages<<(PAGE_SHIFT-10)); printk(KERN_INFO "Node memory in pages:\n"); for_each_online_pgdat(pgdat) { unsigned long present; -- 1.5.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/