diff options
author | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2009-04-22 01:09:24 +0000 |
---|---|---|
committer | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2009-04-22 01:09:24 +0000 |
commit | 58c0612742f8891acc019802ac9e067982bfb48b (patch) | |
tree | b7824243f53a6556f10c021305c914cfe9fa8f11 | |
parent | a4a70fc4194ecf1318b04fe45552a5a4d2b87e93 (diff) |
remove a meaningless sensor.desc; ok deraadt
-rw-r--r-- | sys/dev/i2c/sdtemp.c | 4 |
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"); |