diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-07-20 15:19:51 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-09-02 17:15:16 +0200 |
commit | 88503ad3bb5a21a95fe388a1d45e303c206a4e9d (patch) | |
tree | 71eba4b6873e1404395c9fb91b8a2a22edbdca2f /fs/fat/fat.c | |
parent | 8006dd2e57a9b30ff1c978e76c0dcd28d9786ce8 (diff) | |
download | u-boot-imx-88503ad3bb5a21a95fe388a1d45e303c206a4e9d.zip u-boot-imx-88503ad3bb5a21a95fe388a1d45e303c206a4e9d.tar.gz u-boot-imx-88503ad3bb5a21a95fe388a1d45e303c206a4e9d.tar.bz2 |
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>
Diffstat (limited to 'fs/fat/fat.c')
-rw-r--r-- | fs/fat/fat.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |