Date: Fri, 25 Dec 2009 14:59:10 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r200985 - user/luigi/ipfw3-head/sys/netinet Message-ID: <200912251459.nBPExAqu064068@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912251459.nBPExAqu064068>