summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-12-08 10:14:58 +0000
committerdlg <dlg@openbsd.org>2015-12-08 10:14:58 +0000
commitd7fa49d577f9b15630ae72f92734239227a5f57d (patch)
tree20a5c222916054a35071b6ad0e79c483b61e1fca
parentManual for if_get(9) and if_put(9). (diff)
downloadwireguard-openbsd-d7fa49d577f9b15630ae72f92734239227a5f57d.tar.xz
wireguard-openbsd-d7fa49d577f9b15630ae72f92734239227a5f57d.zip
if_stop is unused, so kill it.
ok mpi@
-rw-r--r--sys/net/if_var.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 631e4cd9f21..c0bd1ef7459 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_var.h,v 1.65 2015/12/08 10:06:12 dlg Exp $ */
+/* $OpenBSD: if_var.h,v 1.66 2015/12/08 10:14:58 dlg Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -149,8 +149,6 @@ struct ifnet { /* and the entries */
void (*if_start)(struct ifnet *);
/* ioctl routine */
int (*if_ioctl)(struct ifnet *, u_long, caddr_t);
- /* stop routine */
- int (*if_stop)(struct ifnet *, int);
/* timer routine */
void (*if_watchdog)(struct ifnet *);
int (*if_wol)(struct ifnet *, int);