From 475c51e53a44636b16760a7fcf2d4c0e1d8eb098 Mon Sep 17 00:00:00 2001 From: yliu79 Date: Wed, 22 May 2019 10:25:04 -0700 Subject: [PATCH] DM: remove unused function console_set_fbaddr Change-Id: Ia0d96880a53a7564492ec4d7943b3040e32dd6e0 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 533c39876..7e264e562 100644 --- a/devicemodel/core/console.c +++ b/devicemodel/core/console.c @@ -50,12 +50,6 @@ console_init(int w, int h, void *fbaddr) console.gc = gc_init(w, h, fbaddr); } -void -console_set_fbaddr(void *fbaddr) -{ - gc_set_fbaddr(console.gc, fbaddr); -} - struct gfx_ctx_image * console_get_image(void) { diff --git a/devicemodel/include/console.h b/devicemodel/include/console.h index 881040619..71a21c588 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); void console_init(int w, int h, void *fbaddr); -void console_set_fbaddr(void *fbaddr); - struct gfx_ctx_image *console_get_image(void); void console_fb_register(fb_render_func_t render_cb, void *arg);