summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-07-10 18:35:20 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-07-10 18:35:20 -0700
commitb912bf5673e38e03b0b25c2f5d05fe7e26994ba1 (patch)
tree774b51acff2554bd641e1e175cd6daf3360cfd23
parentd75490701cdbf2ab6eab82eaa078790a5fe0aea0 (diff)
Clean up warnings in sil164 module.
-rw-r--r--src/sil164/sil164.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sil164/sil164.c b/src/sil164/sil164.c
index 93640ae8..a2742621 100644
--- a/src/sil164/sil164.c
+++ b/src/sil164/sil164.c
@@ -124,8 +124,6 @@ out:
static Bool
sil164Init(I2CDevPtr d)
{
- SIL164Ptr sil = SILPTR(d);
-
/* not much to do */
return TRUE;
}
@@ -133,16 +131,12 @@ sil164Init(I2CDevPtr d)
static ModeStatus
sil164ModeValid(I2CDevPtr d, DisplayModePtr mode)
{
- SIL164Ptr sil = SILPTR(d);
-
return MODE_OK;
}
static void
sil164Mode(I2CDevPtr d, DisplayModePtr mode)
{
- SIL164Ptr sil = SILPTR(d);
-
sil164Power(d, TRUE);
sil164PrintRegs(d);