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

Luca Ceresoli
2026-04-23T11:58:25Z

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

diff --git a/drivers/gpu/drm/tilcdc/tilcdc_encoder.c b/drivers/gpu/drm/tilcdc/tilcdc_encoder.c
index 680a2ac6ab59..ac4b5beb2dd5 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_encoder.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_encoder.c
@@ -35,12 +35,6 @@ int tilcdc_attach_bridge(struct drm_device *ddev, struct drm_bridge *bridge)
return PTR_ERR(connector);
}

- ret = drm_connector_attach_encoder(connector, &priv->encoder->base);
- if (ret) {
- drm_err(ddev, "attaching encoder to connector failed\n");
- return ret;
- }
-
priv->connector = connector;
return 0;
}
--
2.53.0