aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/ntpd/refclock_hopfpci.c
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2008-08-22 15:58:00 +0000
committerOllivier Robert <roberto@FreeBSD.org>2008-08-22 15:58:00 +0000
commitea906c4152774dff300bb26fbfc1e4188351c89a (patch)
tree2b9fb7f64eacb322e95695e412c923e97ba33e88 /contrib/ntp/ntpd/refclock_hopfpci.c
parent65cf8f06911ae22f7b08b1ffd4e386e43e718e87 (diff)
parentff717da2cf625e3d07537a93a4c240692fa55bd6 (diff)
downloadsrc-ea906c4152774dff300bb26fbfc1e4188351c89a.tar.gz
src-ea906c4152774dff300bb26fbfc1e4188351c89a.zip
Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit
will update usr.sbin/ntp to match this. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=182007
Diffstat (limited to 'contrib/ntp/ntpd/refclock_hopfpci.c')
-rw-r--r--contrib/ntp/ntpd/refclock_hopfpci.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/contrib/ntp/ntpd/refclock_hopfpci.c b/contrib/ntp/ntpd/refclock_hopfpci.c
index 1b023198d8db..81c186d168bd 100644
--- a/contrib/ntp/ntpd/refclock_hopfpci.c
+++ b/contrib/ntp/ntpd/refclock_hopfpci.c
@@ -181,17 +181,11 @@ hopfpci_shutdown(
struct peer *peer
)
{
- struct refclockproc *pp;
- register struct hopfpciTime *up;
-
- pp = peer->procptr;
- up = (struct hopfpciTime *)pp->unitptr;
#ifndef SYS_WINNT
close(fd);
#else
CloseHopfDevice();
-/* UnmapViewOfFile (up); */
#endif
}
@@ -206,11 +200,9 @@ hopfpci_poll(
)
{
struct refclockproc *pp;
- register struct hopfpciTime *up;
HOPFTIME m_time;
pp = peer->procptr;
- up = (struct hopfpciTime *)pp->unitptr;
#ifndef SYS_WINNT
ioctl(fd,HOPF_CLOCK_GET_UTC,&m_time);