From 236e8612e0042a85bfce4776bf7d91ad1cdb5eeb Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 24 Mar 2022 12:50:01 +0000 Subject: [PATCH] Framebuffer: Drop bitmap get bpp function. --- frontends/framebuffer/bitmap.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/frontends/framebuffer/bitmap.c b/frontends/framebuffer/bitmap.c index 1fc9f46a2..133ee12fc 100644 --- a/frontends/framebuffer/bitmap.c +++ b/frontends/framebuffer/bitmap.c @@ -251,12 +251,6 @@ static int bitmap_get_height(void *bitmap) return(height); } -/* get bytes per pixel */ -static size_t bitmap_get_bpp(void *bitmap) -{ - return 4; -} - /** * Render content into a bitmap. * @@ -337,7 +331,6 @@ static struct gui_bitmap_table bitmap_table = { .get_rowstride = bitmap_get_rowstride, .get_width = bitmap_get_width, .get_height = bitmap_get_height, - .get_bpp = bitmap_get_bpp, .save = bitmap_save, .modified = bitmap_modified, .render = bitmap_render,