Commit d00bd54f authored by Boris Brezillon's avatar Boris Brezillon Committed by Greg Kroah-Hartman

mtd: Remove a debug trace in mtdpart.c

[ Upstream commit bda2ab56 ]

Commit 2b6f0090 ("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: 2b6f0090 ("mtd: Check add_mtd_device() ret code")
Signed-off-by: default avatarBoris Brezillon <bbrezillon@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7d8677ff
...@@ -626,7 +626,6 @@ int mtd_add_partition(struct mtd_info *parent, const char *name, ...@@ -626,7 +626,6 @@ int mtd_add_partition(struct mtd_info *parent, const char *name,
mutex_unlock(&mtd_partitions_mutex); mutex_unlock(&mtd_partitions_mutex);
free_partition(new); free_partition(new);
pr_info("%s:%i\n", __func__, __LINE__);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment