diff options
author | Wolfgang Denk <wd@denx.de> | 2008-04-28 22:01:04 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-28 22:01:04 +0200 |
commit | 707fa917cca24c0f22776f48ac4a6fa5e5189b10 (patch) | |
tree | 863e91d9652f2af3643c46f300ea293a74366e51 /fs/jffs2 | |
parent | dd5748bcd669f46aeb6686c1b341323843738ccc (diff) | |
download | bootable_bootloader_goldelico_gta04-707fa917cca24c0f22776f48ac4a6fa5e5189b10.zip bootable_bootloader_goldelico_gta04-707fa917cca24c0f22776f48ac4a6fa5e5189b10.tar.gz bootable_bootloader_goldelico_gta04-707fa917cca24c0f22776f48ac4a6fa5e5189b10.tar.bz2 |
jffs2_1pass.c: fix incompatible pointer type warning
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/jffs2_1pass.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index 69f53ea..a330438 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) { |