aboutsummaryrefslogtreecommitdiffstats
path: root/arch/loongarch/crypto/crc32-loongarch.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/crypto/crc32-loongarch.c')
-rw-r--r--arch/loongarch/crypto/crc32-loongarch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/loongarch/crypto/crc32-loongarch.c b/arch/loongarch/crypto/crc32-loongarch.c
index a49e507af38c0e..3eebea3a7b478d 100644
--- a/arch/loongarch/crypto/crc32-loongarch.c
+++ b/arch/loongarch/crypto/crc32-loongarch.c
@@ -44,7 +44,6 @@ static u32 crc32_loongarch_hw(u32 crc_, const u8 *p, unsigned int len)
CRC32(crc, value, w);
p += sizeof(u32);
- len -= sizeof(u32);
}
if (len & sizeof(u16)) {
@@ -80,7 +79,6 @@ static u32 crc32c_loongarch_hw(u32 crc_, const u8 *p, unsigned int len)
CRC32C(crc, value, w);
p += sizeof(u32);
- len -= sizeof(u32);
}
if (len & sizeof(u16)) {