[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061120225501.GA20638@redhat.com>
Date: Mon, 20 Nov 2006 17:55:01 -0500
From: Dave Jones <davej@...hat.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
Cc: ak@...e.de
Subject: remove duplicate printk
We do the exact same printk about a dozen lines above
with no intermediate printk's.
Signed-off-by: Dave Jones <davej@...hat.com>
--- linux-2.6/arch/i386/kernel/cpu/amd.c~ 2006-11-20 17:53:17.000000000 -0500
+++ linux-2.6/arch/i386/kernel/cpu/amd.c 2006-11-20 17:53:40.000000000 -0500
@@ -104,10 +104,7 @@ static void __cpuinit init_amd(struct cp
f_vide();
rdtscl(d2);
d = d2-d;
-
- /* Knock these two lines out if it debugs out ok */
- printk(KERN_INFO "AMD K6 stepping B detected - ");
- /* -- cut here -- */
+
if (d > 20*K6_BUG_LOOP)
printk("system stability may be impaired when more than 32 MB are used.\n");
else
--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists