]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
LoongArch: Remove unused arch/loongarch/crypto directory
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Sun, 17 May 2026 03:14:26 +0000 (20:14 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2026 12:25:30 +0000 (20:25 +0800)
All LoongArch crypto code was moved to arch/loongarch/lib in
commit 72f51a4f4b07 ("loongarch/crc32: expose CRC32 functions through
lib"). However, arch/loongarch/crypto still contains stub Kconfig and
Makefile files. Remove these unnecessary files.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/loongarch/Makefile
arch/loongarch/crypto/Kconfig [deleted file]
arch/loongarch/crypto/Makefile [deleted file]
crypto/Kconfig

index 47516aeea9d29f51f63eac2b1c2dde00245ed377..897f85d53a55699da34e2ec4178f9b2420dc6757 100644 (file)
@@ -195,8 +195,6 @@ endif
 libs-y += arch/loongarch/lib/
 libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
 
-drivers-y              += arch/loongarch/crypto/
-
 # suspend and hibernation support
 drivers-$(CONFIG_PM)   += arch/loongarch/power/
 
diff --git a/arch/loongarch/crypto/Kconfig b/arch/loongarch/crypto/Kconfig
deleted file mode 100644 (file)
index a0270b3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-menu "Accelerated Cryptographic Algorithms for CPU (loongarch)"
-
-endmenu
diff --git a/arch/loongarch/crypto/Makefile b/arch/loongarch/crypto/Makefile
deleted file mode 100644 (file)
index ba83755..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for LoongArch crypto files..
-#
index 00b7ce4227ae157d68331fbf01f87e8cd4b4bfa9..40b7601f00f159f32b355915cf3753be6e7f13f6 100644 (file)
@@ -1366,9 +1366,6 @@ endif
 if ARM64
 source "arch/arm64/crypto/Kconfig"
 endif
-if LOONGARCH
-source "arch/loongarch/crypto/Kconfig"
-endif
 if MIPS
 source "arch/mips/crypto/Kconfig"
 endif