[PATCH] drm/meson: cleanup unnecessary condition in kconfig
From: Gabriel Carvalho
Date: Wed Jun 24 2026 - 17:39:47 EST
DRM_MESON_DW_HDMI and DRM_MESON_DW_MIPI_DSI both already depend on
DRM_MESON, so the "if DRM_MESON" on their "default y" lines is
redundant.
This redundant condition was found by kconfirm, a static analysis tool
for Kconfig.
Signed-off-by: Gabriel Carvalho <gabriel-n-carvalho@xxxxxxxxxxx>
Reviewed-by: Julian Braha <julianbraha@xxxxxxxxx>
---
drivers/gpu/drm/meson/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/meson/Kconfig b/drivers/gpu/drm/meson/Kconfig
index 417f79829cf8..c3800825ac15 100644
--- a/drivers/gpu/drm/meson/Kconfig
+++ b/drivers/gpu/drm/meson/Kconfig
@@ -17,13 +17,13 @@ config DRM_MESON
config DRM_MESON_DW_HDMI
tristate "HDMI Synopsys Controller support for Amlogic Meson Display"
depends on DRM_MESON
- default y if DRM_MESON
+ default y
select DRM_DW_HDMI
imply DRM_DW_HDMI_I2S_AUDIO
config DRM_MESON_DW_MIPI_DSI
tristate "MIPI DSI Synopsys Controller support for Amlogic Meson Display"
depends on DRM_MESON
- default y if DRM_MESON
+ default y
select DRM_DW_MIPI_DSI
select GENERIC_PHY_MIPI_DPHY
base-commit: cdeb2ccd993ed8647adbbda2c3b103aa717fd6f7
--
2.53.0