drm/qxl: remove unnecessary check

All hard-coded resolutions are passing this check.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Marc-André Lureau 2013-10-18 16:11:32 +02:00 committed by Dave Airlie
parent b080742393
commit a40a60d912

View File

@ -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)