diff options
author | 2025-05-11 11:28:36 -0700 | |
---|---|---|
committer | 2025-05-20 08:44:33 +0200 | |
commit | 2695b3c7fe4fa06a377ea0d66e3fe5fdb60310f0 (patch) | |
tree | 13951ced1a3c2d522fb9c5628444647961757c72 /scripts/lib/kdoc/kdoc_output.py | |
parent | mips: dts: pic32: pic32mzda: Rename the sdhci nodename to match with common mmc-controller binding (diff) | |
download | linux-rng-2695b3c7fe4fa06a377ea0d66e3fe5fdb60310f0.tar.xz linux-rng-2695b3c7fe4fa06a377ea0d66e3fe5fdb60310f0.zip |
MIPS: bcm63xx: nvram: avoid inefficient use of crc32_le_combine()
bcm963xx_nvram_checksum() was using crc32_le_combine() to update a CRC
with four zero bytes. However, this is about 5x slower than just
CRC'ing four zero bytes in the normal way. Just do that instead.
(We could instead make crc32_le_combine() faster on short lengths. But
all its callers do just fine without it, so I'd like to just remove it.)
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions