Re: [PATCH] crypto: crc32c - Remove another outdated comment

From: Ard Biesheuvel

Date: Tue Mar 17 2026 - 07:13:27 EST




On Mon, 16 Mar 2026, at 21:56, Eric Biggers wrote:
> This code just calls crc32c(), which has a number of different
> implementations, not just the byte-at-a-time table-based one.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>
> This patch is targeting crc-next
>
> crypto/crc32c.c | 5 -----
> 1 file changed, 5 deletions(-)
>

Acked-by: Ard Biesheuvel <ardb@xxxxxxxxxx>

> diff --git a/crypto/crc32c.c b/crypto/crc32c.c
> index 1eff54dde2f7..3754985ab948 100644
> --- a/crypto/crc32c.c
> +++ b/crypto/crc32c.c
> @@ -47,15 +47,10 @@ struct chksum_ctx {
>
> struct chksum_desc_ctx {
> u32 crc;
> };
>
> -/*
> - * Steps through buffer one byte at a time, calculates reflected
> - * crc using table.
> - */
> -
> static int chksum_init(struct shash_desc *desc)
> {
> struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
> struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
>
>
> base-commit: c13cee2fc7f137dd25ed50c63eddcc578624f204
> --
> 2.53.0