From: Marc-André Lureau Date: Fri, 18 Oct 2013 14:11:32 +0000 (+0200) Subject: drm/qxl: remove unnecessary check X-Git-Tag: next-20131105~57^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a40a60d912a101e8dfb08ee15eb02430aaf6112b;p=karo-tx-linux.git drm/qxl: remove unnecessary check All hard-coded resolutions are passing this check. Signed-off-by: Marc-André Lureau Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 9f3357898631..4f28060a4151 100644 --- a/drivers/gpu/drm/qxl/qxl_display.c +++ b/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)