linux-stable/drivers/crypto
Arnd Bergmann 6cd2cbd553 crypto: ccp - drop platform ifdef checks
[ Upstream commit 42c2d7d029 ]

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: 6c50634340 ("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-06-16 13:32:02 +02:00
..
allwinner crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs() 2023-05-17 11:48:13 +02:00
amcc crypto: crypto4xx - Call dma_unmap_page when done 2023-03-11 16:39:28 +01:00
amlogic crypto: amlogic - Remove kcalloc without check 2023-01-14 10:15:52 +01:00
axis
bcm crypto: bcm - Fix pointer arithmetic 2024-06-16 13:32:01 +02:00
caam crypto: caam/jr - fix Chacha20 + Poly1305 self test failure 2023-11-20 11:06:50 +01:00
cavium crypto: nitrox - avoid double free on error path in nitrox_sriov_init() 2023-01-14 10:15:46 +01:00
ccp crypto: ccp - drop platform ifdef checks 2024-06-16 13:32:02 +02:00
ccree crypto: ccree - Make cc_debugfs_global_fini() available for module init function 2023-01-14 10:15:50 +01:00
chelsio
hisilicon crypto: hisilicon/hpre - Fix a erroneous check after snprintf() 2023-11-20 11:06:50 +01:00
inside-secure crypto: safexcel - Cleanup ring IRQ workqueues on load failure 2023-05-17 11:47:34 +02:00
marvell crypto: marvell/cesa - Fix type mismatch warning 2023-07-27 08:44:00 +02:00
mediatek
nx crypto: nx - fix build warnings when DEBUG_FS is not enabled 2023-07-27 08:43:59 +02:00
qat crypto: qat - resolve race condition during AER recovery 2024-04-13 12:58:05 +02:00
qce
rockchip crypto: rockchip - rework by using crypto_engine 2023-01-14 10:15:48 +01:00
stm32 crypto: stm32/crc32 - fix parsing list of devices 2024-02-23 08:42:04 +01:00
ux500
virtio crypto: virtio/akcipher - Fix stack overflow on memcpy 2024-03-06 14:37:48 +00:00
vmx
xilinx crypto: xilinx - call finalize with bh disabled 2024-03-26 18:21:56 -04: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 crypto: img-hash - Fix variable dereferenced before check 'hdev->req' 2023-01-14 10:15:53 +01:00
ixp4xx_crypto.c
Kconfig crypto: sa2ul - Select CRYPTO_DES 2023-05-17 11:47:49 +02:00
Makefile
mxs-dcp.c
n2_asm.S
n2_core.c crypto: n2 - add missing hash statesize 2023-01-14 10:16:36 +01:00
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 crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe() 2023-01-14 10:15:53 +01:00
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-01-25 14:37:41 -08:00
sa2ul.h
sahara.c crypto: sahara - do not resize req->src when doing hash operations 2024-01-25 14:37:43 -08:00
talitos.c
talitos.h