From: Michael Brown Date: Fri, 20 Jun 2008 10:40:08 +0000 (+0100) Subject: [libc] Remove unused le32_to_cpup(x) and cpu_to_le16p() macros X-Git-Tag: v0.9.4~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b9e7a4767b73cfe10324fbc2fed07646ee4a33c;p=thirdparty%2Fipxe.git [libc] Remove unused le32_to_cpup(x) and cpu_to_le16p() macros If we ever need these macros, they should be defined in include/{big,little}_bswap.h, and the whole family should be defined. --- diff --git a/src/arch/i386/include/bits/endian.h b/src/arch/i386/include/bits/endian.h index b23b233a7..413e702db 100644 --- a/src/arch/i386/include/bits/endian.h +++ b/src/arch/i386/include/bits/endian.h @@ -3,7 +3,4 @@ #define __BYTE_ORDER __LITTLE_ENDIAN -#define le32_to_cpup(x) (*(uint32_t *)(x)) -#define cpu_to_le16p(x) (*(uint16_t*)(x)) - #endif /* ETHERBOOT_BITS_ENDIAN_H */