diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index d7a7dc0c256e..0ef0eeb16778 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -154,7 +154,6 @@ amdgpu_dm_mst_connector_late_register(struct drm_connector *connector) { struct amdgpu_dm_connector *amdgpu_dm_connector = to_amdgpu_dm_connector(connector); - struct drm_dp_mst_port *port = amdgpu_dm_connector->port; int r; amdgpu_dm_connector->dm_dp_aux.aux.dev = connector->kdev; @@ -166,7 +165,7 @@ amdgpu_dm_mst_connector_late_register(struct drm_connector *connector) connector_debugfs_init(amdgpu_dm_connector); #endif - return drm_dp_mst_connector_late_register(connector, port); + return r; } static void