Commit a40a60d9 authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Dave Airlie

drm/qxl: remove unnecessary check

All hard-coded resolutions are passing this check.
Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b0807423
......@@ -170,9 +170,6 @@ static int qxl_add_common_modes(struct drm_connector *connector,
};
for (i = 0; i < ARRAY_SIZE(common_modes); i++) {
if (common_modes[i].w < 320 || common_modes[i].h < 200)
continue;
mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h,
60, false, false, false);
if (common_modes[i].w == pwidth && common_modes[i].h == pheight)
......
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