[PATCH v2 23/41] drm/tests: bridge: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T09:24:01Z

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

diff --git a/drivers/gpu/drm/tests/drm_bridge_test.c b/drivers/gpu/drm/tests/drm_bridge_test.c
index 887020141c7f..dbba06a486f0 100644
--- a/drivers/gpu/drm/tests/drm_bridge_test.c
+++ b/drivers/gpu/drm/tests/drm_bridge_test.c
@@ -173,8 +173,6 @@ drm_test_bridge_init(struct kunit *test, const struct drm_bridge_funcs *funcs)
if (IS_ERR(priv->connector))
return ERR_CAST(priv->connector);

- drm_connector_attach_encoder(priv->connector, enc);
-
drm_mode_config_reset(drm);

return priv;

--
2.53.0