[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aHXwfyKRvXi5AZZT@infradead.org>
Date: Mon, 14 Jul 2025 23:09:03 -0700
From: Christoph Hellwig <hch@...radead.org>
To: linux@...blig.org
Cc: akpm@...ux-foundation.org, terrelln@...com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lib/xxhash: Comment out unused functions
On Mon, Jul 14, 2025 at 01:09:27AM +0100, linux@...blig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@...blig.org>
>
> xxh32_digest() and xxh32_update() were added in 2017 in the original
> xxhash commit, but have remained unused.
>
> While I've mostly been deleting unused functions, this is a general
> library and I see erofs is using other bits of xxh32, so it didn't
> seem right just to delete them.
>
> Comment them out with #if 0.
> (Which checkpatch rightly warns about)
Please just remove it like all other dead code. The same argument
that folks can easily look at the git history to resurrect it applies
here as everywhere else.
Powered by blists - more mailing lists