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 <dh.herrmann@googlemail.com>
This commit is contained in:
parent
ec46dc2909
commit
f7e6e1b19b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user