From 30c58d967ea7f4607993b7d823534cb17c70b68c Mon Sep 17 00:00:00 2001 From: mpi Date: Thu, 28 May 2015 11:57:33 +0000 Subject: [PATCH] Kill unused IF_INPUT_ENQUEUE(). ok dlg@ --- sys/net/if_var.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/sys/net/if_var.h b/sys/net/if_var.h index c6945655abe..52abb7eadcf 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_var.h,v 1.30 2015/05/26 11:39:07 mpi Exp $ */ +/* $OpenBSD: if_var.h,v 1.31 2015/05/28 11:57:33 mpi Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -314,16 +314,6 @@ do { \ } while (!(m) && --if_dequeue_prio >= 0); \ } while (/* CONSTCOND */0) -#define IF_INPUT_ENQUEUE(ifq, m) \ -do { \ - if (IF_QFULL(ifq)) { \ - IF_DROP(ifq); \ - m_freem(m); \ - if_congestion(); \ - } else \ - IF_ENQUEUE(ifq, m); \ -} while (/* CONSTCOND */0) - #define IF_PURGE(ifq) \ do { \ struct mbuf *__m0; \ -- 2.20.1