summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ntpd/sensors.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.sbin/ntpd/sensors.c b/usr.sbin/ntpd/sensors.c
index e81ff0e9f7a..a8823f367af 100644
--- a/usr.sbin/ntpd/sensors.c
+++ b/usr.sbin/ntpd/sensors.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sensors.c,v 1.10 2006/05/28 16:40:07 henning Exp $ */
+/* $OpenBSD: sensors.c,v 1.11 2006/05/28 16:41:40 henning Exp $ */
/*
* Copyright (c) 2006 Henning Brauer <henning@openbsd.org>
@@ -36,7 +36,6 @@
void sensor_probe(int);
void sensor_add(struct sensor *);
-struct ntp_sensor *sensor_byid(int);
struct ntpd_conf *conf;
@@ -118,18 +117,6 @@ sensor_remove(struct ntp_sensor *s)
free(s);
}
-struct ntp_sensor *
-sensor_byid(int id)
-{
- struct ntp_sensor *s;
-
- TAILQ_FOREACH(s, &conf->ntp_sensors, entry)
- if (s->sensorid == id)
- return(s);
-
- return (NULL);
-}
-
int
sensor_query(struct ntp_sensor *s)
{