summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-29 00:52:14 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-29 00:52:14 +0000
commit9415a2829a1221dd58347644b462fcbe09eeb7a6 (patch)
tree5840796b19eeac3147d04f49f17b579a9b9701b4 /libgpsd_core.c
parent73625b44164a21b503dc76475884e68e32a604e0 (diff)
downloadgpsd-9415a2829a1221dd58347644b462fcbe09eeb7a6.tar.gz
Remove dead 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 af8eb030..9133d738 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -457,9 +457,6 @@ gps_mask_t gpsd_poll(struct gps_device_t *session)
gps_clear_fix(&session->gpsdata.fix);
- if (session->packet.inbuflen==0)
- session->gpsdata.d_xmit_time = timestamp();
-
/* can we get a full packet from the device? */
if (session->device_type) {
newlen = session->device_type->get_packet(session);