]> git.itanic.dy.fi Git - linux-stable/commitdiff
mtd: Remove a debug trace in mtdpart.c
authorBoris Brezillon <bbrezillon@kernel.org>
Wed, 30 Jan 2019 08:47:00 +0000 (09:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:21:24 +0000 (09:21 +0100)
[ Upstream commit bda2ab56356b9acdfab150f31c4bac9846253092 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mtd/mtdpart.c

index b9b308cde0a5d072450b2efca640193fa35fad0e..10c53364aa70c1849b0768ee330293759919c97e 100644 (file)
@@ -626,7 +626,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;
 }