direct-io.hg

changeset 13667:44eb80f50725

Remove unused noth/hton endian conversion macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Jan 29 16:48:42 2007 +0000 (2007-01-29)
parents 699656fb1d0b
children 21d6135f522f
files xen/include/xen/byteorder/big_endian.h xen/include/xen/byteorder/little_endian.h
line diff
     1.1 --- a/xen/include/xen/byteorder/big_endian.h	Mon Jan 29 16:46:52 2007 +0000
     1.2 +++ b/xen/include/xen/byteorder/big_endian.h	Mon Jan 29 16:48:42 2007 +0000
     1.3 @@ -11,10 +11,6 @@
     1.4  #include <xen/types.h>
     1.5  #include <xen/byteorder/swab.h>
     1.6  
     1.7 -#define __constant_htonl(x) ((__force __be32)(__u32)(x))
     1.8 -#define __constant_ntohl(x) ((__force __u32)(__be32)(x))
     1.9 -#define __constant_htons(x) ((__force __be16)(__u16)(x))
    1.10 -#define __constant_ntohs(x) ((__force __u16)(__be16)(x))
    1.11  #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x)))
    1.12  #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x))
    1.13  #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x)))
     2.1 --- a/xen/include/xen/byteorder/little_endian.h	Mon Jan 29 16:46:52 2007 +0000
     2.2 +++ b/xen/include/xen/byteorder/little_endian.h	Mon Jan 29 16:48:42 2007 +0000
     2.3 @@ -11,10 +11,6 @@
     2.4  #include <xen/types.h>
     2.5  #include <xen/byteorder/swab.h>
     2.6  
     2.7 -#define __constant_htonl(x) ((__force __be32)___constant_swab32((x)))
     2.8 -#define __constant_ntohl(x) ___constant_swab32((__force __be32)(x))
     2.9 -#define __constant_htons(x) ((__force __be16)___constant_swab16((x)))
    2.10 -#define __constant_ntohs(x) ___constant_swab16((__force __be16)(x))
    2.11  #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x))
    2.12  #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x))
    2.13  #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x))