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
This commit is contained in:
Gary Palmer 1996-06-23 00:51:05 +00:00
parent 7976d4aa4f
commit 0cf8755c9b
1 changed files with 0 additions and 1 deletions

View File

@ -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;