diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 12:48:33 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 12:48:33 -0400 |
commit | f1e41bf78271ecadea9184af2f7215144d160e10 (patch) | |
tree | b8ddbbc3bea0d39d86fc70dbf03380b8233c737b /serial.c | |
parent | d9b8758935f902fb0ea77fee09e9627e09462a11 (diff) | |
download | gpsd-f1e41bf78271ecadea9184af2f7215144d160e10.tar.gz |
Fix a minor layerring violation. All regression tests pass.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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; } |