linux-stable/arch/loongarch
Yuli Wang ad810848ea LoongArch/crypto: Clean up useless assignment operations
[ Upstream commit fea1c949f6 ]

The LoongArch CRC32 hw acceleration is based on arch/mips/crypto/
crc32-mips.c. While the MIPS code supports both MIPS32 and MIPS64,
but LoongArch32 lacks the CRC instruction. As a result, the line
"len -= sizeof(u32)" is unnecessary.

Removing it can make context code style more unified and improve
code readability.

Cc: stable@vger.kernel.org
Reviewed-by: WANG Xuerui <git@xen0n.name>
Suggested-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Yuli Wang <wangyuli@uniontech.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:32:25 +02:00
..
boot LoongArch: dts: Minor whitespace cleanup 2024-02-23 14:36:31 +08:00
configs LoongArch changes for v6.8 2024-01-19 13:30:49 -08:00
crypto LoongArch/crypto: Clean up useless assignment operations 2024-04-03 15:32:25 +02:00
include LoongArch: Define the __io_aw() hook as mmiowb() 2024-04-03 15:32:25 +02:00
kernel LoongArch: Call early_init_fdt_scan_reserved_mem() earlier 2024-02-23 14:36:31 +08:00
kvm LoongArch: KVM: Streamline kvm_check_cpucfg() and improve comments 2024-02-23 14:36:31 +08:00
lib LoongArch: Add KASAN (Kernel Address Sanitizer) support 2023-09-06 22:54:16 +08:00
mm LoongArch: Fix earlycon parameter if KASAN enabled 2024-02-06 12:32:05 +08:00
net LoongArch: BPF: Prevent out-of-bounds memory access 2024-01-17 12:43:13 +08:00
pci
power LoongArch: Export some arch-specific pm interfaces 2023-06-29 20:58:44 +08:00
vdso LoongArch: vDSO: Disable UBSAN instrumentation 2024-02-06 12:32:05 +08:00
Kbuild LoongArch: Allow device trees be built into the kernel 2024-01-17 12:43:00 +08:00
Kconfig LoongArch: Select HAVE_ARCH_SECCOMP to use the common SECCOMP menu 2024-02-06 12:32:05 +08:00
Kconfig.debug
Makefile LoongArch: Allow device trees be built into the kernel 2024-01-17 12:43:00 +08:00