diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-03-31 15:23:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 08:59:18 -0700 |
commit | 63cd885426872254e82dac2d9e13ea4f720c21dc (patch) | |
tree | addd6687abbbcd428c179260737fc97b25b7aa64 /fs/ntfs/logfile.h | |
parent | 311d07611e8b354cc1ee6546e4c574c01111adc8 (diff) | |
download | kernel_samsung_tuna-63cd885426872254e82dac2d9e13ea4f720c21dc.zip kernel_samsung_tuna-63cd885426872254e82dac2d9e13ea4f720c21dc.tar.gz kernel_samsung_tuna-63cd885426872254e82dac2d9e13ea4f720c21dc.tar.bz2 |
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>
Diffstat (limited to 'fs/ntfs/logfile.h')
-rw-r--r-- | fs/ntfs/logfile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ntfs/logfile.h b/fs/ntfs/logfile.h index 9468e1c..b5a6f08 100644 --- a/fs/ntfs/logfile.h +++ b/fs/ntfs/logfile.h @@ -104,7 +104,7 @@ typedef struct { * in this particular client array. Also inside the client records themselves, * this means that there are no client records preceding or following this one. */ -#define LOGFILE_NO_CLIENT const_cpu_to_le16(0xffff) +#define LOGFILE_NO_CLIENT cpu_to_le16(0xffff) #define LOGFILE_NO_CLIENT_CPU 0xffff /* @@ -112,8 +112,8 @@ typedef struct { * information about the log file in which they are present. */ enum { - RESTART_VOLUME_IS_CLEAN = const_cpu_to_le16(0x0002), - RESTART_SPACE_FILLER = const_cpu_to_le16(0xffff), /* gcc: Force enum bit width to 16. */ + RESTART_VOLUME_IS_CLEAN = cpu_to_le16(0x0002), + RESTART_SPACE_FILLER = cpu_to_le16(0xffff), /* gcc: Force enum bit width to 16. */ } __attribute__ ((__packed__)); typedef le16 RESTART_AREA_FLAGS; |