projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8006dd2
)
FAT: cosmetic: Remove useless assignment
author
Benoît Thébaudeau
<benoit.thebaudeau@advansee.com>
Fri, 20 Jul 2012 13:19:51 +0000
(15:19 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 2 Sep 2012 15:15:16 +0000
(17:15 +0200)
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>
fs/fat/fat.c
patch
|
blob
|
history
diff --git
a/fs/fat/fat.c
b/fs/fat/fat.c
index 87a1623d19682d579daef033482841359d1c62c3..48c88448a3085f5c7d099a0787629c6f77a0f6d5 100644
(file)
--- 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) {