From: Piotr Ziecik Date: Mon, 17 Nov 2008 14:57:59 +0000 (+0100) Subject: mtd: Remove a printf() from add_mtd_device(). X-Git-Tag: v2009.01-rc1~65^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e6a7edbc1778d27431ac663b40a71dafa5d20578;p=u-boot mtd: Remove a printf() from add_mtd_device(). Remove a printf() from add_mtd_device(), which produces spurious output. Signed-off-by: Piotr Ziecik Signed-off-by: Stefan Roese --- diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 64bd7d4d8a..6eb52ed50c 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -25,8 +25,6 @@ int add_mtd_device(struct mtd_info *mtd) mtd->index = i; mtd->usecount = 0; - printf("mtd: Giving out device %d to %s\n", - i, mtd->name); /* No need to get a refcount on the module containing the notifier, since we hold the mtd_table_mutex */