summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2015-02-06 06:38:09 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2015-02-06 06:38:09 +0000
commitb99ef101c16ecc14f44a352e51ce9a0a12ad9b98 (patch)
tree33c3e811661bb57d3aaa181186d0cfa9db6b2060 /sys
parentf6b5db2ce2a0650280a5090f3f651a8a1e2e67c7 (diff)
g/c unused IFQ_INC_LEN, IFQ_DEC_LEN and IFQ_INC_DROPS, ok claudio
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_var.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 264ab3be26c..17ca6dfd894 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_var.h,v 1.16 2014/12/18 15:29:30 krw Exp $ */
+/* $OpenBSD: if_var.h,v 1.17 2015/02/06 06:38:08 henning Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -378,9 +378,6 @@ do { \
#define IFQ_LEN(ifq) IF_LEN(ifq)
#define IFQ_IS_EMPTY(ifq) ((ifq)->ifq_len == 0)
-#define IFQ_INC_LEN(ifq) ((ifq)->ifq_len++)
-#define IFQ_DEC_LEN(ifq) (--(ifq)->ifq_len)
-#define IFQ_INC_DROPS(ifq) ((ifq)->ifq_drops++)
#define IFQ_SET_MAXLEN(ifq, len) ((ifq)->ifq_maxlen = (len))
/* default interface priorities */