read_dentry(): Remove warning about dentry being unaligned
authorEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 01:05:26 +0000 (20:05 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 01:05:26 +0000 (20:05 -0500)
The code should still work anyway, and the message isn't particularly
helpful.

src/dentry.c

index eb7dbb6..3396d16 100644 (file)
@@ -1221,9 +1221,6 @@ read_dentry(const u8 * restrict buf, size_t buf_len,
        p = &buf[offset];
        disk_dentry = (const struct wim_dentry_on_disk*)p;
 
-       if (unlikely((uintptr_t)p & 7))
-               WARNING("WIM dentry is not 8-byte aligned");
-
        /* Get dentry length.  */
        length = le64_to_cpu(disk_dentry->length);