From 90e1d453f282f014a959260764431e64a791942d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 1 Apr 2015 02:41:02 -0400 Subject: Thread monitor interface simplification. With a bit of refactoring we can eliminate one of the hooks. PPS observed live, telnetting to localhost:2947 with gpsd running. --- libgpsd_core.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libgpsd_core.c') diff --git a/libgpsd_core.c b/libgpsd_core.c index ce023f63..306bca13 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -422,7 +422,6 @@ void gpsd_clear(struct gps_device_t *session) memset((void *)&session->pps_thread, 0, sizeof(session->pps_thread)); session->pps_thread.devicefd = session->gpsdata.gps_fd; session->pps_thread.devicename = session->gpsdata.dev.path; - session->pps_thread.pps_hook = NULL; session->pps_thread.log_hook = ppsthread_log; session->pps_thread.context = (void *)session; #endif /* PPS_ENABLE */ -- cgit v1.2.1