ntfs: remove private wrapper of endian helpers
The base versions handle constant folding now and are shorter than these private wrappers, use them directly. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Anton Altaparmakov <aia21@cantab.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
311d07611e
commit
63cd885426
@ -1975,8 +1975,7 @@ int ntfs_read_inode_mount(struct inode *vi)
|
||||
goto em_put_err_out;
|
||||
next_al_entry = (ATTR_LIST_ENTRY*)((u8*)al_entry +
|
||||
le16_to_cpu(al_entry->length));
|
||||
if (le32_to_cpu(al_entry->type) >
|
||||
const_le32_to_cpu(AT_DATA))
|
||||
if (le32_to_cpu(al_entry->type) > le32_to_cpu(AT_DATA))
|
||||
goto em_put_err_out;
|
||||
if (AT_DATA != al_entry->type)
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user