summaryrefslogtreecommitdiff
path: root/ntpshm.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2013-10-28 19:42:18 -0700
committerGary E. Miller <gem@rellim.com>2013-10-28 19:42:18 -0700
commite4a396cdd3a843314188ed22f73ffcb47fa8f207 (patch)
tree472fa334a57641c457335176aa7b8c6ea8a022c9 /ntpshm.c
parenta94d8310742e89082d4e6f67eb982ab67460c04f (diff)
downloadgpsd-e4a396cdd3a843314188ed22f73ffcb47fa8f207.tar.gz
Remove broken and unused ONCORE PPS code
Diffstat (limited to 'ntpshm.c')
-rw-r--r--ntpshm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ntpshm.c b/ntpshm.c
index 18e4dc5e..75258f84 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -1035,17 +1035,6 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
/* FIXME, validate last_fixtime a bit better */
edge_offset = 1 + session->last_fixtime - ts.tv_sec;
edge_offset -= ts.tv_nsec / 1e9;
-/* was: defined(ONCORE_ENABLE) && defined(BINARY_ENABLE) */
-#ifdef __UNUSED__
- /*@-noeffect@*/
- if (session->device_type == &oncore_binary) {
- int pulse_delay_ns = session->driver.oncore.pps_offset_ns;
- edge_offset += (double)pulse_delay_ns / 1000000000;
- edge_tv.tv_nsec -= pulse_delay_ns;
- TS_NORM( &edge_tv );
- }
- /*@+noeffect@*/
-#endif
if (session->ship_to_ntpd) {
log1 = "accepted";