Received: from eggs.gnu.org ([2001:4830:134:3::10]:41053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfWT6-0003g0-6M for qemu-devel@nongnu.org; Sun, 10 Nov 2013 09:58:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfWT1-0001fz-6T for qemu-devel@nongnu.org; Sun, 10 Nov 2013 09:58:28 -0500 From: Stefan Weil Date: Sun, 10 Nov 2013 15:58:19 +0100 Message-Id: <1384095499-12255-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] console: Remove unused debug code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: qemu-trivial@nongnu.org, Stefan Weil , Gerd Hoffmann , Anthony Liguori The local function console_print_text_attributes is no longer used since commit 7d6ba01c3741bc32ae252bf64a5fd3f930c2df4f. Signed-off-by: Stefan Weil --- ui/console.c | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/ui/console.c b/ui/console.c index 11d5e6a..61ed219 100644 --- a/ui/console.c +++ b/ui/console.c @@ -410,39 +410,6 @@ static const pixman_color_t color_table_rgb[2][8] = { } }; -#ifdef DEBUG_CONSOLE -static void console_print_text_attributes(TextAttributes *t_attrib, char ch) -{ - if (t_attrib->bold) { - printf("b"); - } else { - printf(" "); - } - if (t_attrib->uline) { - printf("u"); - } else { - printf(" "); - } - if (t_attrib->blink) { - printf("l"); - } else { - printf(" "); - } - if (t_attrib->invers) { - printf("i"); - } else { - printf(" "); - } - if (t_attrib->unvisible) { - printf("n"); - } else { - printf(" "); - } - - printf(" fg: %d bg: %d ch:'%2X' '%c'\n", t_attrib->fgcol, t_attrib->bgcol, ch, ch); -} -#endif - static void vga_putcharxy(QemuConsole *s, int x, int y, int ch, TextAttributes *t_attrib) { -- 1.7.10.4