diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-24 11:39:48 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-24 11:39:48 +0100 |
commit | 61643e79f7fac70873c5d9f689d951a72c0a3bd0 (patch) | |
tree | 682cfe346ed7572120fac8302b232d23fb454a59 | |
parent | 5dd6a738f608fbeaf3ee4e4a24c08291b03ebd1e (diff) | |
download | fbida-61643e79f7fac70873c5d9f689d951a72c0a3bd0.tar.gz |
drop unused stuff
-rw-r--r-- | fbi.c | 7 | ||||
-rw-r--r-- | fbtools.c | 1 | ||||
-rw-r--r-- | gfx.h | 3 |
3 files changed, 0 insertions, 11 deletions
@@ -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: @@ -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: @@ -16,7 +16,4 @@ struct gfxstate { /* calls */ void (*restore_display)(void); void (*cleanup_display)(void); - - /* FIXME: legacy */ - int fb_fd; }; |