From 9afdd8b9df171729e1b06fdc3929b133552b852c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 25 Jun 2017 15:08:29 +0200 Subject: compat: clean up cruft --- src/compat/siphash/siphash.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/compat/siphash') diff --git a/src/compat/siphash/siphash.c b/src/compat/siphash/siphash.c index 1ebfd5e..edbc893 100644 --- a/src/compat/siphash/siphash.c +++ b/src/compat/siphash/siphash.c @@ -15,11 +15,9 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) #ifdef __LITTLE_ENDIAN - #define HASH_LEN_DECLARE u32 hash; u32 len; - #define bytemask_from_count(cnt) (~(~0ul << (cnt)*8)) +#define bytemask_from_count(cnt) (~(~0ul << (cnt)*8)) #else - #define HASH_LEN_DECLARE u32 len; u32 hash; - #define bytemask_from_count(cnt) (~(~0ul >> (cnt)*8)) +#define bytemask_from_count(cnt) (~(~0ul >> (cnt)*8)) #endif #endif -- cgit v1.2.3-59-g8ed1b