summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-05-14 00:37:19 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-05-14 00:37:19 +0000
commit4ef538b5713951d93732e5e5f00b6287e1bfa80b (patch)
treed2d0d392f485f51a469dfd1fef60c96b90e70cd8
parentce6debc81ec632b8b72ebe2f35b9619c43c0c5de (diff)
Remove crufty unused code.
ok kettenis@ krw@ henning@
-rw-r--r--sys/dev/pci/viaenv.c29
1 files changed, 1 insertions, 28 deletions
diff --git a/sys/dev/pci/viaenv.c b/sys/dev/pci/viaenv.c
index 6a9ae98ea5e..3d5ee886383 100644
--- a/sys/dev/pci/viaenv.c
+++ b/sys/dev/pci/viaenv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: viaenv.c,v 1.10 2007/03/22 16:55:31 deraadt Exp $ */
+/* $OpenBSD: viaenv.c,v 1.11 2007/05/14 00:37:18 jsg Exp $ */
/* $NetBSD: viaenv.c,v 1.9 2002/10/02 16:51:59 thorpej Exp $ */
/*
@@ -354,33 +354,6 @@ nopm:
printf("\n");
}
-#if 0
-int
-viaenv_gtredata(struct sysmon_envsys *sme, struct envsys_tre_data *tred)
-{
- struct viaenv_softc *sc = sme->sme_cookie;
-
- simple_lock(&sc->sc_slock);
-
- viaenv_refresh_sensor_data(sc);
- *tred = sc->sc_data[tred->sensor];
-
- simple_unlock(&sc->sc_slock);
-
- return (0);
-}
-
-int
-viaenv_streinfo(struct sysmon_envsys *sme, struct envsys_basic_info *binfo)
-{
-
- /* XXX Not implemented */
- binfo->validflags = 0;
-
- return (0);
-}
-#endif
-
void
viaenv_refresh(void *arg)
{