summaryrefslogtreecommitdiffstats
path: root/hw/jazz_led.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-02-24 12:43:44 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-24 13:36:04 -0600
commit167351020420c285b67cdf0603501b3d3b15e3f7 (patch)
treea75e12bf19e81e797b48c7bfdad9146e8ddc157a /hw/jazz_led.c
parent9a51f5b0677381ed87d413e969ea72adf1f17f5f (diff)
downloadhqemu-167351020420c285b67cdf0603501b3d3b15e3f7.zip
hqemu-167351020420c285b67cdf0603501b3d3b15e3f7.tar.gz
Remove screendump dummy functions.
The code in console.c verifies whenever a screen_dump function pointer is present before calling it, so there is no need to supply an dummy function. Remove them. Also report an error to notify the user that he didn't got a screenshot. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/jazz_led.c')
-rw-r--r--hw/jazz_led.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/jazz_led.c b/hw/jazz_led.c
index 5d8040b..6486523 100644
--- a/hw/jazz_led.c
+++ b/hw/jazz_led.c
@@ -205,11 +205,6 @@ static void jazz_led_invalidate_display(void *opaque)
s->state |= REDRAW_SEGMENTS | REDRAW_BACKGROUND;
}
-static void jazz_led_screen_dump(void *opaque, const char *filename)
-{
- printf("jazz_led_screen_dump() not implemented\n");
-}
-
static void jazz_led_text_update(void *opaque, console_ch_t *chardata)
{
LedState *s = opaque;
@@ -255,7 +250,7 @@ static int jazz_led_init(SysBusDevice *dev)
s->ds = graphic_console_init(jazz_led_update_display,
jazz_led_invalidate_display,
- jazz_led_screen_dump,
+ NULL,
jazz_led_text_update, s);
return 0;
OpenPOWER on IntegriCloud