From owner-svn-src-user@FreeBSD.ORG Fri Dec 25 14:59:11 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01E1D1065692; Fri, 25 Dec 2009 14:59:11 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E53928FC16; Fri, 25 Dec 2009 14:59:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBPExApr064070; Fri, 25 Dec 2009 14:59:10 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBPExAqu064068; Fri, 25 Dec 2009 14:59:10 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <200912251459.nBPExAqu064068@svn.freebsd.org> From: Luigi Rizzo Date: Fri, 25 Dec 2009 14:59:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200985 - user/luigi/ipfw3-head/sys/netinet X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 14:59:11 -0000 Author: luigi Date: Fri Dec 25 14:59:10 2009 New Revision: 200985 URL: http://svn.freebsd.org/changeset/base/200985 Log: remove an unused function Modified: user/luigi/ipfw3-head/sys/netinet/ip_dummynet.h Modified: user/luigi/ipfw3-head/sys/netinet/ip_dummynet.h ============================================================================== --- user/luigi/ipfw3-head/sys/netinet/ip_dummynet.h Fri Dec 25 11:41:04 2009 (r200984) +++ user/luigi/ipfw3-head/sys/netinet/ip_dummynet.h Fri Dec 25 14:59:10 2009 (r200985) @@ -377,21 +377,4 @@ struct dn_pipe_max { SLIST_HEAD(dn_pipe_head, dn_pipe); -#ifdef _KERNEL - -/* - * Return the dummynet tag; if any. - * Make sure that the dummynet tag is not reused by lower layers. - */ -static __inline struct dn_pkt_tag * -ip_dn_claim_tag(struct mbuf *m) -{ - struct m_tag *mtag = m_tag_find(m, PACKET_TAG_DUMMYNET, NULL); - if (mtag != NULL) { - mtag->m_tag_id = PACKET_TAG_NONE; - return ((struct dn_pkt_tag *)(mtag + 1)); - } else - return (NULL); -} -#endif #endif /* _IP_DUMMYNET_H */