diff options
Diffstat (limited to 'sys/dev/pci/mbg.c')
| -rw-r--r-- | sys/dev/pci/mbg.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/mbg.c b/sys/dev/pci/mbg.c index 6f266193188..7e9c5bcdaac 100644 --- a/sys/dev/pci/mbg.c +++ b/sys/dev/pci/mbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbg.c,v 1.27 2008/11/23 14:19:40 mbalmer Exp $ */ +/* $OpenBSD: mbg.c,v 1.28 2009/04/26 02:20:58 cnst Exp $ */ /* * Copyright (c) 2006, 2007 Marc Balmer <mbalmer@openbsd.org> @@ -208,14 +208,10 @@ mbg_attach(struct device *parent, struct device *self, void *aux) sc->sc_timedelta.type = SENSOR_TIMEDELTA; sc->sc_timedelta.status = SENSOR_S_UNKNOWN; - sc->sc_timedelta.value = 0LL; - sc->sc_timedelta.flags = 0; sensor_attach(&sc->sc_sensordev, &sc->sc_timedelta); sc->sc_signal.type = SENSOR_PERCENT; sc->sc_signal.status = SENSOR_S_UNKNOWN; - sc->sc_signal.value = 0LL; - sc->sc_signal.flags = 0; strlcpy(sc->sc_signal.desc, "Signal", sizeof(sc->sc_signal.desc)); sensor_attach(&sc->sc_sensordev, &sc->sc_signal); |
