diff mbox series

mtd: Remove a debug trace in mtdpart.c

Message ID 20190130084700.6290-1-bbrezillon@kernel.org
State Accepted
Delegated to: Boris Brezillon
Headers show
Series mtd: Remove a debug trace in mtdpart.c | expand

Commit Message

Boris Brezillon Jan. 30, 2019, 8:47 a.m. UTC
Commit 2b6f0090a333 ("mtd: Check add_mtd_device() ret code") contained
a leftover of the debug session that led to this bug fix. Remove this
pr_info().

Fixes: 2b6f0090a333 ("mtd: Check add_mtd_device() ret code")
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
---
 drivers/mtd/mtdpart.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Boris Brezillon Feb. 6, 2019, 8:37 a.m. UTC | #1
From: Your Name <patch-notifications@your-domain.com>

On Wed, 2019-01-30 at 08:47:00 UTC, Boris Brezillon wrote:
> Commit 2b6f0090a333 ("mtd: Check add_mtd_device() ret code") contained
> a leftover of the debug session that led to this bug fix. Remove this
> pr_info().
> 
> Fixes: 2b6f0090a333 ("mtd: Check add_mtd_device() ret code")
> Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>

Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks.

y'all come back now!
diff mbox series

Patch

diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index 60104e1079c5..e6d9467f6be0 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -632,7 +632,6 @@  int mtd_add_partition(struct mtd_info *parent, const char *name,
 	mutex_unlock(&mtd_partitions_mutex);
 
 	free_partition(new);
-	pr_info("%s:%i\n", __func__, __LINE__);
 
 	return ret;
 }