Skip to contentSkip to conversation

lib/xxhash: remove used macros

PATCH New Alex Shi 1 participant 1 message Jan 21, 2020 Library code

lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 lib/xxhash: remove used macros

XXH_CPU_LITTLE_ENDIAN defined but never used, looks like it's needed. so remove it.

---
 lib/xxhash.c | 6 ------
 1 file changed, 6 deletions(-)
lib/xxhash.c +0 -6
index aa61e2a3802f..d1561828a0f1 100644
@@ -52,12 +52,6 @@
 #define xxh_rotl32(x, r) ((x << r) | (x >> (32 - r)))
 #define xxh_rotl64(x, r) ((x << r) | (x >> (64 - r)))
 
-#ifdef __LITTLE_ENDIAN
-# define XXH_CPU_LITTLE_ENDIAN 1
-#else
-# define XXH_CPU_LITTLE_ENDIAN 0
-#endif
-
 /*-*************************************
  * Constants
  **************************************/
Signature · 1 line
1.8.3.1