X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ea9f57570dd3f50535d8fd720153a88cefb7096b..72d47c85a2fafd79b101fc0eaaa2edc4ede6048e:/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.c diff --git a/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.c b/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.c index 6e2a9de22..466e5a44c 100644 --- a/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.c +++ b/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.c @@ -172,7 +172,7 @@ int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data, __u8 *spareAsBytes = (__u8 *) spare; if (data && spare) { - if (dev->useNANDECC) { + if (dev->useNANDECC) { /* Careful, this call adds 2 ints */ /* to the end of the spare data. Calling function */ /* should allocate enough memory for spare, */