From 2b9e7a4767b73cfe10324fbc2fed07646ee4a33c Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 20 Jun 2008 11:40:08 +0100 Subject: [PATCH] [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. --- src/arch/i386/include/bits/endian.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/arch/i386/include/bits/endian.h b/src/arch/i386/include/bits/endian.h index b23b233a..413e702d 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 */