summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-23 22:02:08 +0000
committerjhb <jhb@FreeBSD.org>2001-01-23 22:02:08 +0000
commit42f3c7594b4ad06e3fc43947be905ee82b2fe147 (patch)
treeb76699954cef7abf352d03e90603e22dcd4a8673 /sys/dev/fb
parent74ab965b0da61b590e3eb89f7039c70d624deca3 (diff)
downloadFreeBSD-src-42f3c7594b4ad06e3fc43947be905ee82b2fe147.zip
FreeBSD-src-42f3c7594b4ad06e3fc43947be905ee82b2fe147.tar.gz
#if 0 out local variables only used in #if 0'd code and remove unused
local variables.
Diffstat (limited to 'sys/dev/fb')
-rw-r--r--sys/dev/fb/s3_pci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c
index 86d8df1..20c8b0a 100644
--- a/sys/dev/fb/s3_pci.c
+++ b/sys/dev/fb/s3_pci.c
@@ -169,8 +169,10 @@ s3lfb_init(int unit, video_adapter_t *adp, int flags)
static int
s3lfb_get_info(video_adapter_t *adp, int mode, video_info_t *info)
{
+#if 0
device_t dev = s3pci_dev; /* XXX */
struct s3pci_softc *sc = (struct s3pci_softc *)device_get_softc(dev);
+#endif
int error;
if ((error = (*prevvidsw->get_info)(adp, mode, info)))
@@ -217,8 +219,9 @@ s3lfb_set_mode(video_adapter_t *adp, int mode)
{
device_t dev = s3pci_dev; /* XXX */
struct s3pci_softc *sc = (struct s3pci_softc *)device_get_softc(dev);
- u_long cr59, cr5A;
+#if 0
unsigned char tmp;
+#endif
int error;
/* First, set the mode as if it was a classic VESA card
OpenPOWER on IntegriCloud