summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-02 05:27:18 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-03-02 05:27:18 -0500
commit6e201e5649554b80c003e2cb7753ac045a5c965a (patch)
tree662abab414955d9be7d0ef661d32c0361d4f5d67 /libgpsd_core.c
parentd99eae4cf53ae8a85cda32596a4ca2d8f65ec2c7 (diff)
downloadgpsd-6e201e5649554b80c003e2cb7753ac045a5c965a.tar.gz
Remove redundant code.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index a1a1a44e..16ac261e 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -332,9 +332,6 @@ void gpsd_init(struct gps_device_t *session, struct gps_context_t *context,
#ifdef PPS_ENABLE
memset( (void *)&session->ppslast, 0, sizeof(session->ppslast));
session->ppscount = 0;
-#if defined(HAVE_SYS_TIMEPPS_H)
- session->kernelpps_handle = -1;
-#endif /* defined(HAVE_SYS_TIMEPPS_H) */
#endif /* PPS_ENABLE */
/*@ -mayaliasunique @*/