aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
};