diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-04-01 04:13:59 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-04-01 04:13:59 -0400 |
commit | 27421a355f42c6303cae74a861a86f5c96d29d18 (patch) | |
tree | 4dd940e46fd5397856139ca14d0be96fcb82b3a1 /ppsthread.c | |
parent | b72e52abcec878350f5c522d243a643cb0ebcc92 (diff) | |
download | gpsd-27421a355f42c6303cae74a861a86f5c96d29d18.tar.gz |
Further thread-monitor interface simplification.
Remove the wrap hook. The only thing it was doing was closing the chrony fd.
which can be done just as cleanly by whatever calls the pps_thread_deactivate()
function.
Diffstat (limited to 'ppsthread.c')
-rw-r--r-- | ppsthread.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ppsthread.c b/ppsthread.c index d3d9fd64..df46c64f 100644 --- a/ppsthread.c +++ b/ppsthread.c @@ -1177,8 +1177,6 @@ static void *gpsd_ppsmonitor(void *arg) (void)time_pps_destroy(inner_context.kernelpps_handle); } #endif - if (thread_context->wrap_hook != NULL) - thread_context->wrap_hook(thread_context); thread_context->log_hook(thread_context, THREAD_PROG, "PPS:%s gpsd_ppsmonitor exited.\n", thread_context->devicename); |