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: https://git.sur5r.net/?a=commitdiff_plain;h=88503ad3bb5a21a95fe388a1d45e303c206a4e9d;p=u-boot 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 87a1623d19..48c88448a3 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) {