summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Braha <julianbraha@gmail.com>2026-04-17 23:13:37 +0100
committerMathieu Poirier <mathieu.poirier@linaro.org>2026-04-27 11:21:32 -0600
commitf9915120d004a8e9e64afee138dd448cd7cad9bc (patch)
tree13d01a2f3f8c72c5264c9f33e1186d49606c7e8d
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-f9915120d004a8e9e64afee138dd448cd7cad9bc.tar.gz
linux-f9915120d004a8e9e64afee138dd448cd7cad9bc.zip
remoteproc: Dead code cleanup in Kconfig for STM32_RPROC
There is already an 'if REMOTEPROC' condition wrapping this config option, making the 'depends on REMOTEPROC' statement a duplicate dependency (dead code). I propose leaving the outer 'if REMOTEPROC...endif' and removing the individual 'depends on REMOTEPROC' statement. This dead code was found by kconfirm, a static analysis tool for Kconfig. Signed-off-by: Julian Braha <julianbraha@gmail.com> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Link: https://lore.kernel.org/r/20260417221337.286313-1-julianbraha@gmail.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--drivers/remoteproc/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
index ee54436fea5a..c78e431b7b2d 100644
--- a/drivers/remoteproc/Kconfig
+++ b/drivers/remoteproc/Kconfig
@@ -316,7 +316,6 @@ config ST_SLIM_REMOTEPROC
config STM32_RPROC
tristate "STM32 remoteproc support"
depends on ARCH_STM32 || COMPILE_TEST
- depends on REMOTEPROC
select MAILBOX
help
Say y here to support STM32 MCU processors via the