From e31a2d6a35d497bcd86ecb5ec98a59853e876713 Mon Sep 17 00:00:00 2001 From: gpalmer Date: Sun, 23 Jun 1996 00:51:05 +0000 Subject: Remove an un-necessary call to microtime() to set if_lastchange as it is set in the call to if_down in the line above --- sys/net/if_tun.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/net') diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index c74af18..3b0d98e 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -194,7 +194,6 @@ tunclose(dev_t dev, int foo, int bar, struct proc *p) if (ifp->if_flags & IFF_UP) { s = splimp(); if_down(ifp); - microtime(&ifp->if_lastchange); if (ifp->if_flags & IFF_RUNNING) { /* find internet addresses and delete routes */ register struct ifaddr *ifa; -- cgit v1.1