remove duplicate printk

From: Dave Jones
Date: Mon Nov 20 2006 - 17:55:36 EST


We do the exact same printk about a dozen lines above
with no intermediate printk's.

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/