diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-06-19 14:43:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-06-19 14:43:55 +0000 |
commit | b6696d46af8c8d0ef269fc5504a30c938c5a8694 (patch) | |
tree | ef0a95b0f7990e4cdbc4e50f75938ee6522aa794 /sys/dev/pci/viaenv.c | |
parent | 87431e4ae3d19c8e085e9aa11a61314a358b6c6a (diff) |
Do not bother initializing the rfact member of `struct sensor'; it is on its
way out anyway.
Diffstat (limited to 'sys/dev/pci/viaenv.c')
-rw-r--r-- | sys/dev/pci/viaenv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/viaenv.c b/sys/dev/pci/viaenv.c index 1ca3fcc351e..9f7a16fb672 100644 --- a/sys/dev/pci/viaenv.c +++ b/sys/dev/pci/viaenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viaenv.c,v 1.7 2006/01/19 17:08:40 grange Exp $ */ +/* $OpenBSD: viaenv.c,v 1.8 2006/06/19 14:43:54 kettenis Exp $ */ /* $NetBSD: viaenv.c,v 1.9 2002/10/02 16:51:59 thorpej Exp $ */ /* @@ -305,7 +305,6 @@ viaenv_attach(struct device * parent, struct device * self, void *aux) for (i = 5; i <= 9; ++i) { sc->sc_data[i].type = SENSOR_VOLTS_DC; - sc->sc_data[i].rfact = 1; /* what is this used for? */ } strlcpy(sc->sc_data[5].desc, "VSENS1", sizeof(sc->sc_data[5].desc)); /* CPU core (2V) */ |