Skip to content

Commit d95665c

Browse files
committed
drm/amdgpu/display: don't call drm_dp_mst_connector_late_register (v2)
Nothing else calls it. Not sure it's necessary. v2: remove unused port variable. Reviewed-by: Jerry (Fangzhi) Zuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 405a1f9 commit d95665c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ amdgpu_dm_mst_connector_late_register(struct drm_connector *connector)
154154
{
155155
struct amdgpu_dm_connector *amdgpu_dm_connector =
156156
to_amdgpu_dm_connector(connector);
157-
struct drm_dp_mst_port *port = amdgpu_dm_connector->port;
158157
int r;
159158

160159
amdgpu_dm_connector->dm_dp_aux.aux.dev = connector->kdev;
@@ -166,7 +165,7 @@ amdgpu_dm_mst_connector_late_register(struct drm_connector *connector)
166165
connector_debugfs_init(amdgpu_dm_connector);
167166
#endif
168167

169-
return drm_dp_mst_connector_late_register(connector, port);
168+
return r;
170169
}
171170

172171
static void

0 commit comments

Comments
 (0)