diff options
Diffstat (limited to 'contrib/ntp/libparse/gpstolfp.c')
| -rw-r--r-- | contrib/ntp/libparse/gpstolfp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/ntp/libparse/gpstolfp.c b/contrib/ntp/libparse/gpstolfp.c index 8a3607514985..6a99e8851fd7 100644 --- a/contrib/ntp/libparse/gpstolfp.c +++ b/contrib/ntp/libparse/gpstolfp.c @@ -45,11 +45,6 @@ gpstolfp( l_fp * lfp ) { - if (weeks < GPSWRAP) - { - weeks += GPSWEEKS; - } - lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */ lfp->l_uf = 0; } |
