From cdab6faf18b5f2b9964476673cd6d6bc87b264ba Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 12 Aug 2016 10:01:57 +0300 Subject: fbtestpat: remove extra leftover memcpy --- utils/fbtestpat.cpp | 3 --- 1 file changed, 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; -- cgit v1.2.3