svn commit: r200985 - user/luigi/ipfw3-head/sys/netinet

Luigi Rizzo luigi at FreeBSD.org
Fri Dec 25 14:59:11 UTC 2009


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 */


More information about the svn-src-user mailing list