Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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++;
	}