summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@cvs.openbsd.org>2016-12-20 09:33:14 +0000
committerRafael Zalamena <rzalamena@cvs.openbsd.org>2016-12-20 09:33:14 +0000
commitd0b8143a8b4abceaa4a9fba3e1871e45d0d137c2 (patch)
tree363ff980c5f1ad55c7825b5313424b7f7a79153d /sys
parent79d5f441bcc1ea47812cf8696a83fb83ec5beabc (diff)
Remove unused timeout that was never being set.
ok reyk@
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_mroute.c4
-rw-r--r--sys/netinet/ip_mroute.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index 9e165051e76..a5bcc56dff9 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_mroute.c,v 1.96 2016/12/19 12:52:41 rzalamena Exp $ */
+/* $OpenBSD: ip_mroute.c,v 1.97 2016/12/20 09:33:13 rzalamena Exp $ */
/* $NetBSD: ip_mroute.c,v 1.85 2004/04/26 01:31:57 matt Exp $ */
/*
@@ -859,8 +859,6 @@ add_vif(struct socket *so, struct mbuf *m)
vifp->v_bytes_in = 0;
vifp->v_bytes_out = 0;
- timeout_del(&vifp->v_repq_ch);
-
splx(s);
/* Adjust numvifs up if the vifi is higher than numvifs. */
diff --git a/sys/netinet/ip_mroute.h b/sys/netinet/ip_mroute.h
index 17685da5e6f..40af4fc153d 100644
--- a/sys/netinet/ip_mroute.h
+++ b/sys/netinet/ip_mroute.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_mroute.h,v 1.22 2016/12/19 12:52:41 rzalamena Exp $ */
+/* $OpenBSD: ip_mroute.h,v 1.23 2016/12/20 09:33:13 rzalamena Exp $ */
/* $NetBSD: ip_mroute.h,v 1.23 2004/04/21 17:49:46 itojun Exp $ */
#ifndef _NETINET_IP_MROUTE_H_
@@ -250,7 +250,6 @@ struct vif {
u_long v_pkt_out; /* # pkts out on interface */
u_long v_bytes_in; /* # bytes in on interface */
u_long v_bytes_out; /* # bytes out on interface */
- struct timeout v_repq_ch; /* for tbf_reprocess_q() */
};
/*