kernel_samsung_a53x/drivers/crypto
Arnd Bergmann 3142892ef6 crypto: ccp - drop platform ifdef checks
[ Upstream commit 42c2d7d02977ef09d434b1f5b354f5bc6c1027ab ]

When both ACPI and OF are disabled, the dev_vdata variable is unused:

drivers/crypto/ccp/sp-platform.c:33:34: error: unused variable 'dev_vdata' [-Werror,-Wunused-const-variable]

This is not a useful configuration, and there is not much point in saving
a few bytes when only one of the two is enabled, so just remove all
these ifdef checks and rely on of_match_node() and acpi_match_device()
returning NULL when these subsystems are disabled.

Fixes: 6c5063434098 ("crypto: ccp - Add ACPI support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:26:52 +01:00
..
allwinner
amcc
amlogic
axis
bcm crypto: bcm - Fix pointer arithmetic 2024-11-19 12:26:52 +01:00
caam
cavium
ccp crypto: ccp - drop platform ifdef checks 2024-11-19 12:26:52 +01:00
ccree
chelsio
fmp
fmp_simulator
hisilicon
inside-secure
marvell
mediatek
nx
qat crypto: qat - resolve race condition during AER recovery 2024-11-19 09:22:15 +01:00
qce
rockchip
stm32 crypto: stm32/crc32 - fix parsing list of devices 2024-11-18 12:13:10 +01:00
ux500
virtio crypto: virtio/akcipher - Fix stack overflow on memcpy 2024-11-18 23:18:28 +01:00
vmx
xilinx crypto: xilinx - call finalize with bh disabled 2024-11-19 08:44:52 +01:00
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-ecc.c
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c
atmel-sha204a.c
atmel-tdes-regs.h
atmel-tdes.c
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c
ixp4xx_crypto.c
Kconfig
Makefile
mxs-dcp.c
n2_asm.S
n2_core.c
n2_core.h
omap-aes-gcm.c
omap-aes.c
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c
padlock-aes.c
padlock-sha.c
picoxcell_crypto.c
picoxcell_crypto_regs.h
qcom-rng.c
s5p-sss.c
sa2ul.c crypto: sa2ul - Return crypto_aead_setkey to transfer the error 2024-11-18 12:12:26 +01:00
sa2ul.h
sahara.c crypto: sahara - do not resize req->src when doing hash operations 2024-11-18 12:12:27 +01:00
talitos.c
talitos.h