LWN.net Logo

Disable the most annoying printk in the kernel

From:  Andi Kleen <ak@suse.de>
To:  vojtech@suse.cz
Subject:  [PATCH] Disable the most annoying printk in the kernel
Date:  Thu, 27 Oct 2005 10:26:10 +0200
Cc:  akpm@osdl.org, linux-kernel@vger.kernel.org


Remove most useless printk in the world

Signed-off-by: Andi Kleen <ak@suse.de>

Index: linux/drivers/input/keyboard/atkbd.c
===================================================================
--- linux/drivers/input/keyboard/atkbd.c
+++ linux/drivers/input/keyboard/atkbd.c
@@ -328,7 +328,6 @@ static irqreturn_t atkbd_interrupt(struc
 			atkbd_report_key(&atkbd->dev, regs, KEY_HANJA, 3);
 			goto out;
 		case ATKBD_RET_ERR:
-			printk(KERN_DEBUG "atkbd.c: Keyboard on %s reports too many keys pressed.
\n", serio->phys);
 			goto out;
 	}
 
-
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/

Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds