summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2015-02-06 06:38:08 +0000
committerhenning <henning@openbsd.org>2015-02-06 06:38:08 +0000
commitcd48bc25f23141154f517d0d301c4b3749729dbe (patch)
treed072215a5f8fce16f5c3b69e1e89cb4f6f8381e7
parentusing IFQ_INC_LEN and IFQ_DEC_LEN for len++/len-- is a bit excessive, (diff)
downloadwireguard-openbsd-cd48bc25f23141154f517d0d301c4b3749729dbe.tar.xz
wireguard-openbsd-cd48bc25f23141154f517d0d301c4b3749729dbe.zip
g/c unused IFQ_INC_LEN, IFQ_DEC_LEN and IFQ_INC_DROPS, ok claudio
-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 */