aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-24 11:39:48 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-03-24 11:39:48 +0100
commit61643e79f7fac70873c5d9f689d951a72c0a3bd0 (patch)
tree682cfe346ed7572120fac8302b232d23fb454a59
parent5dd6a738f608fbeaf3ee4e4a24c08291b03ebd1e (diff)
downloadfbida-61643e79f7fac70873c5d9f689d951a72c0a3bd0.tar.gz
drop unused stuff
-rw-r--r--fbi.c7
-rw-r--r--fbtools.c1
-rw-r--r--gfx.h3
3 files changed, 0 insertions, 11 deletions
diff --git a/fbi.c b/fbi.c
index b7edd3b..8315321 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1691,13 +1691,6 @@ int main(int argc, char *argv[])
timeout = arg;
break;
case KEY_VERBOSE:
-#if 0 /* fbdev testing/debugging hack */
- {
- ioctl(gfx->fb_fd,FBIOBLANK,1);
- sleep(1);
- ioctl(gfx->fb_fd,FBIOBLANK,0);
- }
-#endif
statusline = !statusline;
break;
case KEY_DESC:
diff --git a/fbtools.c b/fbtools.c
index 9b1328b..176021f 100644
--- a/fbtools.c
+++ b/fbtools.c
@@ -340,7 +340,6 @@ gfxstate* fb_init(char *device, char *mode, int vt)
gfx->restore_display = fb_restore_display;
gfx->cleanup_display = fb_cleanup_display;
- gfx->fb_fd = fb;
return gfx;
err:
diff --git a/gfx.h b/gfx.h
index a64b1e8..28b99b8 100644
--- a/gfx.h
+++ b/gfx.h
@@ -16,7 +16,4 @@ struct gfxstate {
/* calls */
void (*restore_display)(void);
void (*cleanup_display)(void);
-
- /* FIXME: legacy */
- int fb_fd;
};