]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/siphash.c
Move c_src dirs back to toplevel
[bcachefs-tools-debian] / libbcachefs / siphash.c
index 4565a843c1a6128ef86f4bd744a9015f152b4644..dc1a27cc31cd4de56cdc2e44026e4be7b789c34f 100644 (file)
@@ -44,7 +44,6 @@
  * https://131002.net/siphash/
  */
 
-#include <linux/stddef.h>
 #include <asm/byteorder.h>
 #include <asm/unaligned.h>
 #include <linux/bitops.h>
@@ -161,7 +160,7 @@ u64 SipHash_End(SIPHASH_CTX *ctx, int rc, int rf)
 
        r = (ctx->v[0] ^ ctx->v[1]) ^ (ctx->v[2] ^ ctx->v[3]);
        memset(ctx, 0, sizeof(*ctx));
-       return (r);
+       return r;
 }
 
 u64 SipHash(const SIPHASH_KEY *key, int rc, int rf, const void *src, size_t len)