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

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

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

diff --git a/drivers/gpu/drm/xlnx/zynqmp_kms.c b/drivers/gpu/drm/xlnx/zynqmp_kms.c
index 02f3a7d78cf8..a341ca492253 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_kms.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_kms.c
@@ -453,12 +453,6 @@ static int zynqmp_dpsub_kms_init(struct zynqmp_dpsub *dpsub)
goto err_encoder;
}

- ret = drm_connector_attach_encoder(connector, encoder);
- if (ret < 0) {
- dev_err(dpsub->dev, "failed to attach connector to encoder\n");
- goto err_encoder;
- }
-
return 0;

err_encoder:
--
2.53.0