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 <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
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 @@
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) {