[PATCH v2 34/41] drm/mxsfb/lcdif: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T09:26:45Z

drivers/gpu/drm/mxsfb/lcdif_drv.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/mxsfb/lcdif_drv.c b/drivers/gpu/drm/mxsfb/lcdif_drv.c
index 7f07ae24e0dc..f5bb59cd5028 100644
--- a/drivers/gpu/drm/mxsfb/lcdif_drv.c
+++ b/drivers/gpu/drm/mxsfb/lcdif_drv.c
@@ -99,12 +99,6 @@ static int lcdif_attach_bridge(struct lcdif_drm_private *lcdif)
return dev_err_probe(dev, PTR_ERR(connector),
"Failed to init bridge_connector for endpoint%u\n",
of_ep.id);
-
- ret = drm_connector_attach_encoder(connector, encoder);
- if (ret)
- return dev_err_probe(dev, ret,
- "Failed to attach connector for endpoint%u\n",
- of_ep.id);
}

return 0;

--
2.53.0