From: Boris Brezillon Date: Wed, 30 Jan 2019 08:47:00 +0000 (+0100) Subject: mtd: Remove a debug trace in mtdpart.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bda2ab56356b9acdfab150f31c4bac9846253092;p=openwrt%2Fstaging%2Fblogic.git 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") Signed-off-by: Boris Brezillon --- 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 @@ err_remove_part: mutex_unlock(&mtd_partitions_mutex); free_partition(new); - pr_info("%s:%i\n", __func__, __LINE__); return ret; }