From d3c2343af09b2e1a568ccac608b8b3d10a36c20c Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sun, 22 Jun 2014 11:00:50 +1000 Subject: vga: Remove rgb_to_pixel indirection We always use rgb_to_pixel32 nowadays. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Gerd Hoffmann Reviewed-by: David Gibson --- hw/display/vga_int.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/display/vga_int.h') diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h index bbc0cb2..9073370 100644 --- a/hw/display/vga_int.h +++ b/hw/display/vga_int.h @@ -154,8 +154,6 @@ typedef struct VGACommonState { bool cursor_visible_phase; int64_t cursor_blink_time; uint32_t cursor_offset; - unsigned int (*rgb_to_pixel)(unsigned int r, - unsigned int g, unsigned b); const GraphicHwOps *hw_ops; bool full_update_text; bool full_update_gfx; -- cgit v1.1