summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/sdtemp.c
diff options
context:
space:
mode:
authorcnst <cnst@openbsd.org>2009-04-22 01:09:23 +0000
committercnst <cnst@openbsd.org>2009-04-22 01:09:23 +0000
commit9fc8a957678af8c74a2e61a0e65152084960ce9c (patch)
tree4b137a44934cffcd5be75354933d73cb171b44d4 /sys/dev/i2c/sdtemp.c
parentreplace arrays of dmamaps and mbuf pointers used to manage packets (diff)
downloadwireguard-openbsd-9fc8a957678af8c74a2e61a0e65152084960ce9c.tar.xz
wireguard-openbsd-9fc8a957678af8c74a2e61a0e65152084960ce9c.zip
remove a meaningless sensor.desc; ok deraadt
Diffstat (limited to 'sys/dev/i2c/sdtemp.c')
-rw-r--r--sys/dev/i2c/sdtemp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/i2c/sdtemp.c b/sys/dev/i2c/sdtemp.c
index 442f77c81bd..c5fd66b6e7e 100644
--- a/sys/dev/i2c/sdtemp.c
+++ b/sys/dev/i2c/sdtemp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdtemp.c,v 1.6 2008/11/13 17:57:15 deraadt Exp $ */
+/* $OpenBSD: sdtemp.c,v 1.7 2009/04/22 01:09:23 cnst Exp $ */
/*
* Copyright (c) 2008 Theo de Raadt
@@ -83,8 +83,6 @@ sdtemp_attach(struct device *parent, struct device *self, void *aux)
sizeof(sc->sc_sensordev.xname));
sc->sc_sensor[JCTEMP_TEMP].type = SENSOR_TEMP;
- strlcpy(sc->sc_sensor[JCTEMP_TEMP].desc, "Temperature",
- sizeof(sc->sc_sensor[JCTEMP_TEMP].desc));
if (sensor_task_register(sc, sdtemp_refresh, 5) == NULL) {
printf(", unable to register update task\n");