lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1579595651-251348-1-git-send-email-alex.shi@linux.alibaba.com>
Date:   Tue, 21 Jan 2020 16:34:11 +0800
From:   Alex Shi <alex.shi@...ux.alibaba.com>
To:     unlisted-recipients:; (no To-header on input)
Cc:     Nick Terrell <terrelln@...com>, linux-kernel@...r.kernel.org
Subject: [PATCH] lib/xxhash: remove used macros

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

Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: Nick Terrell <terrelln@...com>
Cc: linux-kernel@...r.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ