From 43c01f8e262b1bbbd0519e9cb1fcddf9943ab5e6 Mon Sep 17 00:00:00 2001 From: yliu79 Date: Wed, 22 May 2019 10:30:01 -0700 Subject: [PATCH] DM: remove unused function console_init Change-Id: I5c06a1dd057cea0edd364c846958074ee3df4987 Tracked-On: #3123 Signed-off-by: Ying Liu Acked-by: Anthony Xu --- devicemodel/core/console.c | 6 ------ devicemodel/include/console.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/devicemodel/core/console.c b/devicemodel/core/console.c index 7e264e562..4e7d81ad0 100644 --- a/devicemodel/core/console.c +++ b/devicemodel/core/console.c @@ -44,12 +44,6 @@ static struct { int ptr_priority; } console; -void -console_init(int w, int h, void *fbaddr) -{ - console.gc = gc_init(w, h, fbaddr); -} - struct gfx_ctx_image * console_get_image(void) { diff --git a/devicemodel/include/console.h b/devicemodel/include/console.h index 71a21c588..c7f938971 100644 --- a/devicemodel/include/console.h +++ b/devicemodel/include/console.h @@ -35,8 +35,6 @@ typedef void (*fb_render_func_t)(struct gfx_ctx *gc, void *arg); typedef void (*kbd_event_func_t)(int down, uint32_t keysym, void *arg); typedef void (*ptr_event_func_t)(uint8_t mask, int x, int y, void *arg); -void console_init(int w, int h, void *fbaddr); - struct gfx_ctx_image *console_get_image(void); void console_fb_register(fb_render_func_t render_cb, void *arg);