linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lib/xxhash: remove used macros
@ 2020-01-21  8:34 Alex Shi
  0 siblings, 0 replies; only message in thread
From: Alex Shi @ 2020-01-21  8:34 UTC (permalink / raw)
  Cc: Nick Terrell, linux-kernel

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

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Nick Terrell <terrelln@fb.com>
Cc: linux-kernel@vger.kernel.org 
---
 lib/xxhash.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/xxhash.c b/lib/xxhash.c
index aa61e2a3802f..d1561828a0f1 100644
--- a/lib/xxhash.c
+++ b/lib/xxhash.c
@@ -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
  **************************************/
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-21  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21  8:34 [PATCH] lib/xxhash: remove used macros Alex Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).