From: Jo-Philipp Wich Date: Wed, 25 Feb 2015 21:56:51 +0000 (+0100) Subject: libfstools: make mtd_volume_identify() less chatty X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72c421a66e151e929086193dad0516c99caaf790;p=oweals%2Ffstools.git libfstools: make mtd_volume_identify() less chatty Signed-off-by: Jo-Philipp Wich --- diff --git a/libfstools/mtd.c b/libfstools/mtd.c index d8637aa..156d166 100644 --- a/libfstools/mtd.c +++ b/libfstools/mtd.c @@ -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; }