mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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:
parent
7976d4aa4f
commit
0cf8755c9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16604
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user