summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantine A. Murenin <cnst@cvs.openbsd.org>2007-06-01 23:35:01 +0000
committerConstantine A. Murenin <cnst@cvs.openbsd.org>2007-06-01 23:35:01 +0000
commit09af5bcdcb0fa7ee806d3fb860934717fa7a2f2c (patch)
treea0ca5a093d82e8e99c114e0ffff7ac23596823ad
parent9175e4a6cc6d4ac5993f98a2b13e92ae96c036da (diff)
remove strings from sensor.desc which are now present in sysctl variable names; ok grange@
-rw-r--r--sys/dev/onewire/owsbm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/onewire/owsbm.c b/sys/dev/onewire/owsbm.c
index e67d7b8506a..8bbb7e5c5be 100644
--- a/sys/dev/onewire/owsbm.c
+++ b/sys/dev/onewire/owsbm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: owsbm.c,v 1.2 2007/03/22 16:55:31 deraadt Exp $ */
+/* $OpenBSD: owsbm.c,v 1.3 2007/06/01 23:35:00 cnst Exp $ */
/*
* Copyright (c) 2007 Aaron Linville <aaron@linville.org>
@@ -115,7 +115,6 @@ owsbm_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_temp.type = SENSOR_TEMP;
- strlcpy(sc->sc_temp.desc, "Temp", sizeof(sc->sc_temp.desc));
sensor_attach(&sc->sc_sensordev, &sc->sc_temp);
/* Initialize voltage sensor */