summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-08 07:57:47 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-08 07:57:47 -0400
commit3a5c2574f625c82972d5cb078e32ce2a0ae4c027 (patch)
tree4eb7ed37db913d7acf28b3a63e9c11c2eaa572ed /gpsmon.c
parent8b6c5dc9b114b18f2af6ec8865ed77b55b48269e (diff)
downloadgpsd-3a5c2574f625c82972d5cb078e32ce2a0ae4c027.tar.gz
Eliminate a potential source of defects by using static mutex initialization.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gpsmon.c b/gpsmon.c
index f27db3a6..4b9484f8 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -1313,9 +1313,6 @@ int main(int argc, char **argv)
if (serial) {
#ifdef PPS_ENABLE
- /* init the pps mutex */
- pps_early_init( &context);
-
/* this guard suppresses a warning on Bluetooth devices */
if (session.sourcetype == source_rs232 || session.sourcetype == source_usb) {
session.pps_thread.report_hook = pps_report;