[PATCH v2 18/41] drm/omapdrm: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T09:22:41Z

drivers/gpu/drm/omapdrm/omap_drv.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c
index ae678696fbac..31bf2618046b 100644
--- a/drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/drivers/gpu/drm/omapdrm/omap_drv.c
@@ -507,8 +507,6 @@ static int omap_modeset_init(struct drm_device *dev)
return PTR_ERR(pipe->connector);
}

- drm_connector_attach_encoder(pipe->connector, encoder);
-
crtc = omap_crtc_init(dev, pipe, priv->planes[i]);
if (IS_ERR(crtc))
return PTR_ERR(crtc);

--
2.53.0