summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-15 08:20:52 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-15 08:20:52 -0500
commit180fb26501501742b8464e916a8ebad1fe34141f (patch)
treeb2a3fcaf8cbd3575e382dbc7f2e31010406396ed /gpsd.c
parent99bb21d9f08dae1ecfd0147b605d245aa78c8543 (diff)
downloadgpsd-180fb26501501742b8464e916a8ebad1fe34141f.tar.gz
Don't condition out thread locks when PPS disabled, gpsmon will need them.
All regression tests pass. PPS is live.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index ceb29c4d..f0eb8402 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -602,9 +602,7 @@ static ssize_t throttled_write(struct subscriber_t *sub, char *buf,
}
}
-#if defined(PPS_ENABLE)
gpsd_acquire_reporting_lock();
-#endif /* PPS_ENABLE */
status = send(sub->fd, buf, len, 0);
#if defined(PPS_ENABLE)
gpsd_release_reporting_lock();