summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/fade/fade_saver.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/syscons/fade/fade_saver.c')
-rw-r--r--sys/dev/syscons/fade/fade_saver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/syscons/fade/fade_saver.c b/sys/dev/syscons/fade/fade_saver.c
index 052fa92..d7793b6 100644
--- a/sys/dev/syscons/fade/fade_saver.c
+++ b/sys/dev/syscons/fade/fade_saver.c
@@ -40,7 +40,6 @@
#include <dev/syscons/syscons.h>
static u_char palette[256*3];
-static int blanked;
static int
fade_saver(video_adapter_t *adp, int blank)
@@ -50,7 +49,6 @@ fade_saver(video_adapter_t *adp, int blank)
int i;
if (blank) {
- blanked = TRUE;
if (ISPALAVAIL(adp->va_flags)) {
if (count <= 0)
save_palette(adp, palette);
@@ -77,7 +75,6 @@ fade_saver(video_adapter_t *adp, int blank)
(*vidsw[adp->va_index]->blank_display)(adp,
V_DISPLAY_ON);
}
- blanked = FALSE;
}
return 0;
}
@@ -88,7 +85,6 @@ fade_init(video_adapter_t *adp)
if (!ISPALAVAIL(adp->va_flags)
&& (*vidsw[adp->va_index]->blank_display)(adp, V_DISPLAY_ON) != 0)
return ENODEV;
- blanked = FALSE;
return 0;
}
OpenPOWER on IntegriCloud