diff options
-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; }; |