]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/crc_kunit.c: update comment in crc_benchmark()
authorEric Biggers <ebiggers@google.com>
Wed, 5 Mar 2025 01:58:30 +0000 (17:58 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 10 Mar 2025 16:29:29 +0000 (09:29 -0700)
commit415999ea30015681d2ba32e78cb651d23d33cb53
treefe6f2c666a5536b5bceebadf2a6145c45dce8da3
parent7715f8cfe5df822617db618c783db47504adfc90
lib/crc_kunit.c: update comment in crc_benchmark()

None of the CRC library functions use __pure anymore, so the comment in
crc_benchmark() is outdated.  But the comment was not really correct
anyway, since the CRC computation could (in principle) be optimized out
regardless of __pure.  Update the comment to have a proper explanation.

Link: https://lore.kernel.org/r/20250305015830.37813-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
lib/crc_kunit.c