Skip to contentSkip to conversation

LoongArch: Remove unused arch/loongarch/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 LoongArch: Remove unused arch/loongarch/crypto directory

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.

---
 arch/loongarch/Makefile        | 2 --
 arch/loongarch/crypto/Kconfig  | 5 -----
 arch/loongarch/crypto/Makefile | 4 ----
 crypto/Kconfig                 | 3 ---
 4 files changed, 14 deletions(-)
 delete mode 100644 arch/loongarch/crypto/Kconfig
 delete mode 100644 arch/loongarch/crypto/Makefile
arch/loongarch/Makefile +0 -2
index 54fcfa1eac1f..4b22f95aaafb 100644
@@ -197,8 +197,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/
 
arch/loongarch/crypto/Kconfig deleted +0 -5
deleted file mode 100644
index a0270b3e5b30..000000000000
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-menu "Accelerated Cryptographic Algorithms for CPU (loongarch)"
-
-endmenu
arch/loongarch/crypto/Makefile deleted +0 -4
deleted file mode 100644
index ba83755dde2b..000000000000
@@ -1,4 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for LoongArch crypto files..
-#
crypto/Kconfig +0 -3
index 103d1f58cb7c..62221507f2b9 100644
@@ -1361,9 +1361,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
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 6 lines · Ethan Nelson-Moore

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.

Quoted 8 lines
---
 arch/loongarch/Makefile        | 2 --
 arch/loongarch/crypto/Kconfig  | 5 -----
 arch/loongarch/crypto/Makefile | 4 ----
 crypto/Kconfig                 | 3 ---
 4 files changed, 14 deletions(-)
 delete mode 100644 arch/loongarch/crypto/Kconfig
 delete mode 100644 arch/loongarch/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