Sfoglia il codice sorgente

mtd: Remove a printf() from add_mtd_device().

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>
Piotr Ziecik 16 anni fa
parent
commit
e6a7edbc17
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      drivers/mtd/mtdcore.c

+ 0 - 2
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 */