Commit 844e2f52 authored by Boris Brezillon's avatar Boris Brezillon Committed by Thierry Reding

drm/panel: simple: Remove useless drm_mode_set_name()

drm_display_mode_from_videomode() already calls drm_mode_set_name() on
the provided mode.
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
[treding@nvidia.com: slightly reword commit message]
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent cda55372
......@@ -123,8 +123,6 @@ static int panel_simple_get_fixed_modes(struct panel_simple *panel)
if (panel->desc->num_modes == 1)
mode->type |= DRM_MODE_TYPE_PREFERRED;
drm_mode_set_name(mode);
drm_mode_probed_add(connector, mode);
num++;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment