From 20a9d324fd7af462b03aeae0ee4a5fdda5925519 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 21 Jan 2004 19:02:02 +0000 Subject: Remove #ifdef for ancient source FreeBSD compat. --- sys/net/if_spppsubr.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 27e7638..0853e55 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1308,15 +1308,9 @@ sppp_cisco_send(struct sppp *sp, int type, long par1, long par2) struct ppp_header *h; struct cisco_packet *ch; struct mbuf *m; -#if defined(__FreeBSD__) && __FreeBSD__ >= 3 struct timeval tv; -#else - u_long t = (time.tv_sec - boottime.tv_sec) * 1000; -#endif -#if defined(__FreeBSD__) && __FreeBSD__ >= 3 getmicrouptime(&tv); -#endif MGETHDR (m, M_DONTWAIT, MT_DATA); if (! m) @@ -1335,13 +1329,8 @@ sppp_cisco_send(struct sppp *sp, int type, long par1, long par2) ch->par2 = htonl (par2); ch->rel = -1; -#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ch->time0 = htons ((u_short) (tv.tv_sec >> 16)); ch->time1 = htons ((u_short) tv.tv_sec); -#else - ch->time0 = htons ((u_short) (t >> 16)); - ch->time1 = htons ((u_short) t); -#endif if (debug) log(LOG_DEBUG, -- cgit v1.1