summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_upl.c
diff options
context:
space:
mode:
authormbalmer <mbalmer@openbsd.org>2007-06-09 12:22:53 +0000
committermbalmer <mbalmer@openbsd.org>2007-06-09 12:22:53 +0000
commit69d06a35ec4c02606924eba1598bfbc32997e4d8 (patch)
tree05ce7262debbb32e66d0bd83f1ec8f435983da31 /sys/dev/usb/if_upl.c
parentAdd a CVS marker. (diff)
downloadwireguard-openbsd-69d06a35ec4c02606924eba1598bfbc32997e4d8.tar.xz
wireguard-openbsd-69d06a35ec4c02606924eba1598bfbc32997e4d8.zip
Remove the definition and use of if_deactivate(). It was defined empty and
thus produced no code at all. No binary change. ok jsg.
Diffstat (limited to 'sys/dev/usb/if_upl.c')
-rw-r--r--sys/dev/usb/if_upl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index 8dbdb9b4ed8..99f1803156f 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.31 2007/06/06 19:25:49 mk Exp $ */
+/* $OpenBSD: if_upl.c,v 1.32 2007/06/09 12:22:53 mbalmer Exp $ */
/* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -365,8 +365,6 @@ upl_activate(device_ptr_t self, enum devact act)
break;
case DVACT_DEACTIVATE:
- /* Deactivate the interface. */
- if_deactivate(&sc->sc_if);
sc->sc_dying = 1;
break;
}