From: mpi Date: Thu, 28 May 2015 11:57:33 +0000 (+0000) Subject: Kill unused IF_INPUT_ENQUEUE(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=30c58d967ea7f4607993b7d823534cb17c70b68c;p=openbsd Kill unused IF_INPUT_ENQUEUE(). ok dlg@ --- 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; \