aboutsummaryrefslogtreecommitdiffstats
path: root/fbtools.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-23 08:56:28 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-23 08:56:28 +0100
commit6d62ddcf9d95c5ddcbe1da14630cc69b44076f3c (patch)
treee2260ff2c67e81bd36dddf01b40472254596af1f /fbtools.c
parentd4aad4f7b58e51fb8573c84c9e47718a209b7896 (diff)
downloadfbida-6d62ddcf9d95c5ddcbe1da14630cc69b44076f3c.tar.gz
drop dead code
Diffstat (limited to 'fbtools.c')
-rw-r--r--fbtools.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fbtools.c b/fbtools.c
index 7b1def2..30021fb 100644
--- a/fbtools.c
+++ b/fbtools.c
@@ -310,16 +310,6 @@ gfxstate* fb_init(const char *device, char *mode)
gfx->mem = fb_mem;
gfx->fmt = fmt;
- gfx->rlen = fb_var.red.length;
- gfx->glen = fb_var.green.length;
- gfx->blen = fb_var.blue.length;
- gfx->tlen = fb_var.transp.length;
- gfx->roff = fb_var.red.offset;
- gfx->goff = fb_var.green.offset;
- gfx->boff = fb_var.blue.offset;
- gfx->toff = fb_var.transp.offset;
- gfx->bits_per_pixel = fb_var.bits_per_pixel;
-
gfx->restore_display = fb_restore_display;
gfx->cleanup_display = fb_cleanup_display;