From 88503ad3bb5a21a95fe388a1d45e303c206a4e9d Mon Sep 17 00:00:00 2001 From: Benoît Thébaudeau Date: Fri, 20 Jul 2012 15:19:51 +0200 Subject: 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 --- fs/fat/fat.c | 1 - 1 file changed, 1 deletion(-) (limited to 'fs/fat') diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 87a1623d196..48c88448a30 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) { -- cgit v1.2.3