]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: Remove unused arch/mips/crypto directory
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Sun, 17 May 2026 03:20:56 +0000 (20:20 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2026 12:25:30 +0000 (20:25 +0800)
The last MIPS crypto code was moved to lib/crypto/mips in
commit c9e5ac0ab9d1 ("lib/crypto: mips/md5: Migrate optimized code into
library"). However, arch/mips/crypto still contains stub Kconfig,
Makefile, and .gitignore 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/mips/Makefile
arch/mips/crypto/.gitignore [deleted file]
arch/mips/crypto/Kconfig [deleted file]
arch/mips/crypto/Makefile [deleted file]
crypto/Kconfig

index 6705fa5d9211c4ee3850b5b9ebd130f8ceab88dc..cff1a9a43b897de98aedd40983754f4fd7b7424d 100644 (file)
@@ -350,8 +350,6 @@ OBJCOPYFLAGS                += --remove-section=.reginfo
 libs-y                 += arch/mips/lib/
 libs-$(CONFIG_MIPS_FP_SUPPORT) += arch/mips/math-emu/
 
-drivers-y                      += arch/mips/crypto/
-
 # suspend and hibernation support
 drivers-$(CONFIG_PM)   += arch/mips/power/
 
diff --git a/arch/mips/crypto/.gitignore b/arch/mips/crypto/.gitignore
deleted file mode 100644 (file)
index 0d47d4f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-poly1305-core.S
diff --git a/arch/mips/crypto/Kconfig b/arch/mips/crypto/Kconfig
deleted file mode 100644 (file)
index 6a5bd50..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-menu "Accelerated Cryptographic Algorithms for CPU (mips)"
-
-endmenu
diff --git a/arch/mips/crypto/Makefile b/arch/mips/crypto/Makefile
deleted file mode 100644 (file)
index 5adb631..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for MIPS crypto files..
-#
-
index 40b7601f00f159f32b355915cf3753be6e7f13f6..b5c5a1e0443539931532e46fdb6fa02e7da88f8b 100644 (file)
@@ -1366,9 +1366,6 @@ endif
 if ARM64
 source "arch/arm64/crypto/Kconfig"
 endif
-if MIPS
-source "arch/mips/crypto/Kconfig"
-endif
 if PPC
 source "arch/powerpc/crypto/Kconfig"
 endif