lib-xxhash-remove-unused-functions.patch removed from -mm tree
The quilt patch titled
Subject: lib/xxhash: remove unused functions
has been removed from the -mm tree. Its filename was
lib-xxhash-remove-unused-functions.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Dr. David Alan Gilbert" <[email protected]>
Subject: lib/xxhash: remove unused functions
Date: Wed, 16 Jul 2025 14:32:45 +0100
xxh32_digest() and xxh32_update() were added in 2017 in the original xxhash commit, but have remained unused.
Remove them.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Reviewed-by Christoph Hellwig <[email protected]>
Cc Dave Gilbert <[email protected]>
Cc Nick Terrell <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/xxhash.h | 26 --------- lib/xxhash.c | 107 --------------------------------------- 2 files changed, 133 deletions(-)
include/linux/xxhash.h renamed from include/linux/xxhash.h~lib-xxhash-remove-unused-functions +0 -26
@@ -178,32 +178,6 @@ struct xxh64_state {void xxh32_reset (struct xxh32_state *state,uint32_t seed);/** -* xxh32_update() - hash the data given and update the xxh32 state -* -* @state: The xxh32 state to update. -* @input: The data to hash. -* @length: The length of the data to hash. -* -* After calling xxh32_reset() call xxh32_update() as many times as necessary. -* -* Return: Zero on success, otherwise an error code. -*/ -int xxh32_update (struct xxh32_state *state,const void *input,size_t length); - -/** -* xxh32_digest() - produce the current xxh32 hash -* -* @state: Produce the current xxh32 hash of this state. -* -* A hash value can be produced at any time. It is still possible to continue -* inserting input into the hash state after a call to xxh32_digest(), and -* generate new hashes later on, by calling xxh32_digest() again. -* -* Return: The xxh32 hash stored in the state. -*/ -uint32_t xxh32_digest (const struct xxh32_state *state); - -/** * xxh64_reset() - reset the xxh64 state to start a new hashing operation * * @state: The xxh64 state to reset.
lib/xxhash.c renamed from lib/xxhash.c~lib-xxhash-remove-unused-functions +0 -107
113 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are