summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include/bits
diff options
context:
space:
mode:
authorMichael Brown2008-06-20 12:40:08 +0200
committerMichael Brown2008-06-27 23:12:44 +0200
commit2b9e7a4767b73cfe10324fbc2fed07646ee4a33c (patch)
treee0cbaf01fa5ca18456c5b3160c2cec4d35c235ac /src/arch/i386/include/bits
parent[tg3] Recognize the BCM5789 (diff)
downloadipxe-2b9e7a4767b73cfe10324fbc2fed07646ee4a33c.tar.gz
ipxe-2b9e7a4767b73cfe10324fbc2fed07646ee4a33c.tar.xz
ipxe-2b9e7a4767b73cfe10324fbc2fed07646ee4a33c.zip
[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.
Diffstat (limited to 'src/arch/i386/include/bits')
-rw-r--r--src/arch/i386/include/bits/endian.h3
1 files changed, 0 insertions, 3 deletions
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 */