From: David Herrmann Date: Sat, 23 Jun 2012 20:46:42 +0000 (+0200) Subject: uterm: video_fbdev: remove double check X-Git-Tag: kmscon-7~870 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7e6e1b19b976bab99923019425d79ac03739cab;p=platform%2Fupstream%2Fkmscon.git uterm: video_fbdev: remove double check There is no need to check this twice so move it beyond the last vinfo modification. Signed-off-by: David Herrmann --- diff --git a/src/uterm_video_fbdev.c b/src/uterm_video_fbdev.c index 4d7f3e6..5709bba 100644 --- a/src/uterm_video_fbdev.c +++ b/src/uterm_video_fbdev.c @@ -124,13 +124,6 @@ static int display_activate_force(struct uterm_display *disp, return -EFAULT; } - if (vinfo->yres_virtual < vinfo->yres * 2 || - vinfo->xres_virtual < vinfo->xres) { - log_error("device %s does no double-buffering", - disp->fbdev.node); - return -EFAULT; - } - ret = refresh_info(disp); if (ret) return ret;