All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Ziecik <kosmo@semihalf.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] mtd: Remove a printf() from add_mtd_device().
Date: Mon, 17 Nov 2008 15:57:59 +0100	[thread overview]
Message-ID: <1226933880-21440-3-git-send-email-kosmo@semihalf.com> (raw)
In-Reply-To: <1226933880-21440-1-git-send-email-kosmo@semihalf.com>

Remove a printf() from add_mtd_device(), which produces spurious output.

Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
---
 drivers/mtd/mtdcore.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 64bd7d4..6eb52ed 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 */
 
-- 
1.5.6.1

  parent reply	other threads:[~2008-11-17 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-17 14:57 [U-Boot] Export CFI Flash to the MTD and support it in UBI Piotr Ziecik
2008-11-17 14:57 ` [U-Boot] [PATCH 1/3] cfi-mtd: Add cfi-mtd driver Piotr Ziecik
2008-11-24 10:09   ` Stefan Roese
2008-11-17 14:57 ` Piotr Ziecik [this message]
2008-11-24 10:35   ` [U-Boot] [PATCH 2/3] mtd: Remove a printf() from add_mtd_device() Stefan Roese
2008-11-17 14:58 ` [U-Boot] [PATCH 3/3] ubi: Add proof-of-concept CFI flash support Piotr Ziecik
2008-11-24 10:35   ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1226933880-21440-3-git-send-email-kosmo@semihalf.com \
    --to=kosmo@semihalf.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.