From: Wolfgang Denk Date: Mon, 28 Apr 2008 20:01:04 +0000 (+0200) Subject: jffs2_1pass.c: fix incompatible pointer type warning X-Git-Tag: v1.3.3-rc2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=707fa917cca24c0f22776f48ac4a6fa5e5189b10;p=u-boot jffs2_1pass.c: fix incompatible pointer type warning Signed-off-by: Wolfgang Denk --- diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index 69f53eabcf..a3304384f2 100644 --- a/fs/jffs2/jffs2_1pass.c +++ b/fs/jffs2/jffs2_1pass.c @@ -185,11 +185,7 @@ static int read_nand_cached(u32 off, u32 size, u_char *buf) { struct mtdids *id = current_part->dev->id; u32 bytes_read = 0; -#if defined(CFG_NAND_LEGACY) size_t retlen; -#else - ulong retlen; -#endif int cpy_bytes; while (bytes_read < size) {