summaryrefslogtreecommitdiff
path: root/sys/dev/onewire
diff options
context:
space:
mode:
authorConstantine A. Murenin <cnst@cvs.openbsd.org>2007-06-01 21:30:32 +0000
committerConstantine A. Murenin <cnst@cvs.openbsd.org>2007-06-01 21:30:32 +0000
commit1ab5e6dfa0cec86140f26efdcdafefef2ca79267 (patch)
tree2b17429202fea20436659d1077f3088c454b2896 /sys/dev/onewire
parent84668a0a773b86a10f0d0b9604d0f0e2a89d9713 (diff)
remove strings from sensor.desc which are now present in sysctl variable names; ok grange@
Diffstat (limited to 'sys/dev/onewire')
-rw-r--r--sys/dev/onewire/owid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/onewire/owid.c b/sys/dev/onewire/owid.c
index 55639a19b56..2470f48b263 100644
--- a/sys/dev/onewire/owid.c
+++ b/sys/dev/onewire/owid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: owid.c,v 1.4 2007/03/22 16:55:31 deraadt Exp $ */
+/* $OpenBSD: owid.c,v 1.5 2007/06/01 21:30:31 cnst Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -84,7 +84,6 @@ owid_attach(struct device *parent, struct device *self, void *aux)
strlcpy(sc->sc_sensordev.xname, sc->sc_dev.dv_xname,
sizeof(sc->sc_sensordev.xname));
sc->sc_sensor.type = SENSOR_INTEGER;
- strlcpy(sc->sc_sensor.desc, "ID", sizeof(sc->sc_sensor.desc));
sc->sc_sensor.value = ONEWIRE_ROM_SN(sc->sc_rom);
sensor_attach(&sc->sc_sensordev, &sc->sc_sensor);
sensordev_install(&sc->sc_sensordev);