diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1996-06-23 00:51:05 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1996-06-23 00:51:05 +0000 |
commit | e31a2d6a35d497bcd86ecb5ec98a59853e876713 (patch) | |
tree | c9caabbf542bf16393caaea47d2c77619486e06a | |
parent | 052dfa09a1a1897163534e475f4125cd8e42b596 (diff) | |
download | FreeBSD-src-e31a2d6a35d497bcd86ecb5ec98a59853e876713.zip FreeBSD-src-e31a2d6a35d497bcd86ecb5ec98a59853e876713.tar.gz |
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
-rw-r--r-- | sys/net/if_tun.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |