summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-30 12:48:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-30 12:48:33 -0400
commitf1e41bf78271ecadea9184af2f7215144d160e10 (patch)
treeb8ddbbc3bea0d39d86fc70dbf03380b8233c737b /serial.c
parentd9b8758935f902fb0ea77fee09e9627e09462a11 (diff)
downloadgpsd-f1e41bf78271ecadea9184af2f7215144d160e10.tar.gz
Fix a minor layerring violation. All regression tests pass.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/serial.c b/serial.c
index 7c515708..7249c54f 100644
--- a/serial.c
+++ b/serial.c
@@ -114,13 +114,6 @@ void gpsd_tty_init(struct gps_device_t *session)
/* mark GPS fd closed and its baud rate unknown */
session->gpsdata.gps_fd = -1;
session->saved_baud = -1;
-#ifdef NTPSHM_ENABLE
- /* mark NTPD shared memory segments as unused */
- session->shmindex = -1;
-# ifdef PPS_ENABLE
- session->shmTimeP = -1;
-# endif /* PPS_ENABLE */
-#endif /* NTPSHM_ENABLE */
session->zerokill = false;
session->reawake = (timestamp_t)0;
}