summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-15 07:28:10 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-15 07:28:10 -0500
commit99bb21d9f08dae1ecfd0147b605d245aa78c8543 (patch)
tree724be5b3448a1bb861531568ef96b92332df76a0 /ppsthread.c
parent40aaf34d0b8474196c745cbdf9569c1e5c1cf58a (diff)
downloadgpsd-99bb21d9f08dae1ecfd0147b605d245aa78c8543.tar.gz
Remove a stray (but harmless) unlock.
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ppsthread.c b/ppsthread.c
index eb8f6a5e..c2e51bb7 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -576,7 +576,6 @@ int pps_thread_lastpps(struct gps_device_t *session, struct timedrift_t *td)
/*@ +unrecog @*/
*td = session->ppslast;
ret = session->ppscount;
- gpsd_release_reporting_lock();
/*@ -unrecog (splint has no pthread declarations as yet) @*/
(void)pthread_mutex_unlock(&ppslast_mutex);
/*@ +unrecog @*/