fb: Remove extra PUT_VSCREENINFO call.
Remove the extra PUT call during system startup.
Change-Id: I29287af2ee5610e749ac481c2832f41d7381ca59
diff --git a/libgralloc/framebuffer.cpp b/libgralloc/framebuffer.cpp
index dd630d5..022d658 100644
--- a/libgralloc/framebuffer.cpp
+++ b/libgralloc/framebuffer.cpp
@@ -271,11 +271,6 @@
info.yres_virtual = (size * numberOfBuffers) / line_length;
uint32_t flags = PAGE_FLIP;
- if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) {
- info.yres_virtual = size / line_length;
- flags &= ~PAGE_FLIP;
- ALOGW("FBIOPUT_VSCREENINFO failed, page flipping not supported");
- }
if (info.yres_virtual < ((size * 2) / line_length) ) {
// we need at least 2 for page-flipping