summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-12 10:01:57 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-12 10:01:57 +0300
commitcdab6faf18b5f2b9964476673cd6d6bc87b264ba (patch)
tree1929adb55a09d55643355f3893ffeacf5f090d9c
parenta740efaa0c3545afb3dbf77739fc83bf30e574b9 (diff)
fbtestpat: remove extra leftover memcpy
-rw-r--r--utils/fbtestpat.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/fbtestpat.cpp b/utils/fbtestpat.cpp
index 4fe0d41..6216c04 100644
--- a/utils/fbtestpat.cpp
+++ b/utils/fbtestpat.cpp
@@ -51,9 +51,6 @@ int main(int argc, char** argv)
draw_test_pattern(buf);
draw_text(buf, buf.width() / 2, 0, fbdev, RGB(255, 255, 255));
- for (unsigned y = 0; y < var.yres_virtual; ++y)
- memcpy(ptr + fix.line_length * y, buf.map(0) + buf.stride(0) * y, buf.stride(0));
-
close(fd);
return 0;