Skip to contentSkip to conversation

mtd: Remove a debug trace in mtdpart.c

PATCH Applied Boris Brezillon 2 participants 2 messages Jan 30, 2019 – Feb 6, 2019 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: Remove a debug trace in mtdpart.c

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")
---
 drivers/mtd/mtdpart.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/mtdpart.c +0 -1
index 60104e1079c5..e6d9467f6be0 100644
@@ -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;
 }
Signature · 6 lines
2.17.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
#1 lore raw

From: Your Name <[email protected]>

Quoted 6 lines · Boris Brezillon

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")

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

y'all come back now!

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/