mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Wolfgang Denk

parent
8006dd2e57
commit
88503ad3bb
@ -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) {
|
||||
|
Reference in New Issue
Block a user