[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.
This commit is contained in:
parent
14fe4d4ba5
commit
2b9e7a4767
@ -3,7 +3,4 @@
|
|||||||
|
|
||||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
#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 */
|
#endif /* ETHERBOOT_BITS_ENDIAN_H */
|
||||||
|
Reference in New Issue
Block a user