]> git.sur5r.net Git - u-boot/commitdiff
mtd: Remove a printf() from add_mtd_device().
authorPiotr Ziecik <kosmo@semihalf.com>
Mon, 17 Nov 2008 14:57:59 +0000 (15:57 +0100)
committerStefan Roese <sr@denx.de>
Mon, 24 Nov 2008 10:29:53 +0000 (11:29 +0100)
Remove a printf() from add_mtd_device(), which produces spurious output.

Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/mtdcore.c

index 64bd7d4d8aadd92ff22a2e8485030af1b84fdbec..6eb52ed50c6a8eef289327e63c84e8238f2562c9 100644 (file)
@@ -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 */