OSDN Git Service

mtd: Remove a debug trace in mtdpart.c
authorBoris Brezillon <bbrezillon@kernel.org>
Wed, 30 Jan 2019 08:47:00 +0000 (09:47 +0100)
committerBoris Brezillon <bbrezillon@kernel.org>
Fri, 1 Feb 2019 08:44:58 +0000 (09:44 +0100)
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

index 60104e1..e6d9467 100644 (file)
@@ -632,7 +632,6 @@ err_remove_part:
        mutex_unlock(&mtd_partitions_mutex);
 
        free_partition(new);
-       pr_info("%s:%i\n", __func__, __LINE__);
 
        return ret;
 }