libfstools: make mtd_volume_identify() less chatty
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Feb 2015 21:56:51 +0000 (22:56 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Feb 2015 21:56:51 +0000 (22:56 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
libfstools/mtd.c

index d8637aa108a906d6209903f756d6776e61f6d18c..156d166b5a2cc92f124852180782e5c2826be881 100644 (file)
@@ -204,23 +204,18 @@ static int mtd_volume_identify(struct volume *v)
 
        deadc0de = __be32_to_cpu(deadc0de);
        if (deadc0de == 0xdeadc0de) {
-               ULOG_INFO("jffs2 is not ready - marker found\n");
                return FS_DEADCODE;
        }
 
        jffs2 = __be16_to_cpu(deadc0de >> 16);
        if (jffs2 == 0x1985) {
-               ULOG_INFO("jffs2 is ready\n");
                return FS_JFFS2;
        }
 
        if (v->type == UBIVOLUME && deadc0de == 0xffffffff) {
-               ULOG_INFO("jffs2 is ready\n");
                return FS_JFFS2;
        }
 
-       ULOG_INFO("No jffs2 marker was found\n");
-
        return FS_NONE;
 }