summaryrefslogtreecommitdiffstats
path: root/fs/fat/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/fat.c')
-rw-r--r--fs/fat/fat.c1
1 files changed, 0 insertions, 1 deletions
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) {
OpenPOWER on IntegriCloud