projects
/
project
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c74ca9
)
block: remove uneeded le32_to_cpu() calls in vfat probe function - the call is not...
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 24 Jul 2013 10:03:45 +0000
(12:03 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 24 Jul 2013 10:03:45 +0000
(12:03 +0200)
libblkid-tiny/vfat.c
patch
|
blob
|
history
diff --git
a/libblkid-tiny/vfat.c
b/libblkid-tiny/vfat.c
index c805f6004e4e7ed4dacb719d197897bb897b6400..a24e6c354389e24506ec928f1f11ede4e7e4b05a 100644
(file)
--- a/
libblkid-tiny/vfat.c
+++ b/
libblkid-tiny/vfat.c
@@
-385,8
+385,6
@@
static int probe_vfat(blkid_probe pr, const struct blkid_idmag *mag)
return -1;
fsinfo = (struct fat32_fsinfo *) buf;
- *fsinfo->signature1 = le32_to_cpu(*fsinfo->signature1);
- *fsinfo->signature2 = le32_to_cpu(*fsinfo->signature2);
if (memcmp(fsinfo->signature1, "\x52\x52\x61\x41", 4) != 0 &&
memcmp(fsinfo->signature1, "\x52\x52\x64\x41", 4) != 0 &&
memcmp(fsinfo->signature1, "\x00\x00\x00\x00", 4) != 0)