diff options
author | 2015-02-06 06:38:08 +0000 | |
---|---|---|
committer | 2015-02-06 06:38:08 +0000 | |
commit | cd48bc25f23141154f517d0d301c4b3749729dbe (patch) | |
tree | d072215a5f8fce16f5c3b69e1e89cb4f6f8381e7 | |
parent | using IFQ_INC_LEN and IFQ_DEC_LEN for len++/len-- is a bit excessive, (diff) | |
download | wireguard-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.h | 5 |
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 */ |