Skip to contentSkip to conversation

MIPS: Remove unused arch/mips/crypto directory

PATCH In review Ethan Nelson-Moore 2 participants 2 messages May 17 – May 22

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Remove unused arch/mips/crypto directory

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.

---
 arch/mips/Makefile          | 2 --
 arch/mips/crypto/.gitignore | 2 --
 arch/mips/crypto/Kconfig    | 5 -----
 arch/mips/crypto/Makefile   | 5 -----
 crypto/Kconfig              | 3 ---
 5 files changed, 17 deletions(-)
 delete mode 100644 arch/mips/crypto/.gitignore
 delete mode 100644 arch/mips/crypto/Kconfig
 delete mode 100644 arch/mips/crypto/Makefile
arch/mips/Makefile +0 -2
index 6705fa5d9211..cff1a9a43b89 100644
@@ -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/
 
arch/mips/crypto/.gitignore deleted +0 -2
deleted file mode 100644
index 0d47d4f21c6d..000000000000
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-poly1305-core.S
arch/mips/crypto/Kconfig deleted +0 -5
deleted file mode 100644
index 6a5bd5074867..000000000000
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-menu "Accelerated Cryptographic Algorithms for CPU (mips)"
-
-endmenu
arch/mips/crypto/Makefile deleted +0 -5
deleted file mode 100644
index 5adb631a69c1..000000000000
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for MIPS crypto files..
-#
-
crypto/Kconfig +0 -3
index 62221507f2b9..5203aa8f06f3 100644
@@ -1361,9 +1361,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
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 6 lines · Ethan Nelson-Moore

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.

Quoted 10 lines
---
 arch/mips/Makefile          | 2 --
 arch/mips/crypto/.gitignore | 2 --
 arch/mips/crypto/Kconfig    | 5 -----
 arch/mips/crypto/Makefile   | 5 -----
 crypto/Kconfig              | 3 ---
 5 files changed, 17 deletions(-)
 delete mode 100644 arch/mips/crypto/.gitignore
 delete mode 100644 arch/mips/crypto/Kconfig
 delete mode 100644 arch/mips/crypto/Makefile

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt