diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-02-10 11:29:10 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2008-04-17 14:22:42 +0200 |
commit | af15a298a49c9b5844cdaf70e10eb808e54ead2c (patch) | |
tree | 136c9daa03ed307bb2f943e30d078429960ccb70 /fs/udf/udfend.h | |
parent | 56774805d5eeecd3f1fb700603e593a35dc523c8 (diff) | |
download | kernel-common-af15a298a49c9b5844cdaf70e10eb808e54ead2c.tar.gz kernel-common-af15a298a49c9b5844cdaf70e10eb808e54ead2c.tar.bz2 kernel-common-af15a298a49c9b5844cdaf70e10eb808e54ead2c.zip |
udf: remove unneeded kernel_timestamp type
remove now unneeded kernel_timestamp type with conversion functions
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udfend.h')
-rw-r--r-- | fs/udf/udfend.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/fs/udf/udfend.h b/fs/udf/udfend.h index c4bd1203f857..489f52fb428c 100644 --- a/fs/udf/udfend.h +++ b/fs/udf/udfend.h @@ -24,17 +24,6 @@ static inline lb_addr cpu_to_lelb(kernel_lb_addr in) return out; } -static inline kernel_timestamp lets_to_cpu(timestamp in) -{ - kernel_timestamp out; - - memcpy(&out, &in, sizeof(timestamp)); - out.typeAndTimezone = le16_to_cpu(in.typeAndTimezone); - out.year = le16_to_cpu(in.year); - - return out; -} - static inline short_ad lesa_to_cpu(short_ad in) { short_ad out; @@ -85,15 +74,4 @@ static inline kernel_extent_ad leea_to_cpu(extent_ad in) return out; } -static inline timestamp cpu_to_lets(kernel_timestamp in) -{ - timestamp out; - - memcpy(&out, &in, sizeof(timestamp)); - out.typeAndTimezone = cpu_to_le16(in.typeAndTimezone); - out.year = cpu_to_le16(in.year); - - return out; -} - #endif /* __UDF_ENDIAN_H */ |