From aacc6e5926f983d520d8421aee8fa92fb183a882 Mon Sep 17 00:00:00 2001 From: yliu79 Date: Wed, 22 May 2019 10:34:27 -0700 Subject: [PATCH] DM: remove unused function console_refresh Change-Id: I7ad16ecf3325e012fd738f2774aec6d957efd678 Tracked-On: #3123 Signed-off-by: Ying Liu Acked-by: Anthony Xu --- devicemodel/core/console.c | 7 ------- devicemodel/include/console.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/devicemodel/core/console.c b/devicemodel/core/console.c index 56530b368..03314bf19 100644 --- a/devicemodel/core/console.c +++ b/devicemodel/core/console.c @@ -54,13 +54,6 @@ console_get_image(void) return image; } -void -console_refresh(void) -{ - if (console.fb_render_cb) - (*console.fb_render_cb)(console.gc, console.fb_arg); -} - void console_kbd_register(kbd_event_func_t event_cb, void *arg, int pri) { diff --git a/devicemodel/include/console.h b/devicemodel/include/console.h index a9fa0abac..c1df3d38d 100644 --- a/devicemodel/include/console.h +++ b/devicemodel/include/console.h @@ -37,8 +37,6 @@ typedef void (*ptr_event_func_t)(uint8_t mask, int x, int y, void *arg); struct gfx_ctx_image *console_get_image(void); -void console_refresh(void); - void console_kbd_register(kbd_event_func_t event_cb, void *arg, int pri); void console_kbd_unregister(void); void console_key_event(int down, uint32_t keysym);