projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec46dc2
)
uterm: video_fbdev: remove double check
author
David Herrmann
<dh.herrmann@googlemail.com>
Sat, 23 Jun 2012 20:46:42 +0000
(22:46 +0200)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Sat, 23 Jun 2012 20:46:42 +0000
(22:46 +0200)
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>
src/uterm_video_fbdev.c
patch
|
blob
|
history
diff --git
a/src/uterm_video_fbdev.c
b/src/uterm_video_fbdev.c
index
4d7f3e6
..
5709bba
100644
(file)
--- 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;