drm/qxl: remove unnecessary check
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Fri, 18 Oct 2013 14:11:32 +0000 (16:11 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Oct 2013 13:21:24 +0000 (14:21 +0100)
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>
drivers/gpu/drm/qxl/qxl_display.c

index 9f33578986312b4229ae3028c32306bbfe2896aa..4f28060a4151cd5e145ec3d1ded70c72a81e592a 100644 (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)