Browse Source

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>
Marc-André Lureau 11 years ago
parent
commit
a40a60d912
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/gpu/drm/qxl/qxl_display.c

+ 0 - 3
drivers/gpu/drm/qxl/qxl_display.c

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