From: Benoît Thébaudeau Date: Fri, 20 Jul 2012 13:19:51 +0000 (+0200) Subject: FAT: cosmetic: Remove useless assignment X-Git-Tag: v2012.10-rc1~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88503ad3bb5a21a95fe388a1d45e303c206a4e9d;p=platform%2Fkernel%2Fu-boot.git FAT: cosmetic: Remove useless assignment fatlength is not used after this assignment, so it is useless and can be removed. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 87a1623..48c8844 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -210,7 +210,6 @@ static __u32 get_fatent(fsdata *mydata, __u32 entry) if (startblock + getsize > fatlength) getsize = fatlength - startblock; - fatlength *= mydata->sect_size; /* We want it in bytes now */ startblock += mydata->fat_sect; /* Offset from start of disk */ if (disk_read(startblock, getsize, bufptr) < 0) {