summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gpsd.c b/gpsd.c
index 298a1836..7a61563f 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1493,14 +1493,6 @@ static void consume_packets(struct gps_device_t *device)
}
/*@+nullderef@*/
} /* subscribers */
-
- /*
- * Trying to read a nonexistent datagram hangs,
- * so only go through the poll loop once after
- * select in this case.
- */
- if (device->sourcetype == source_udp)
- break;
}
}