svn commit: r316008 - head/sys/dev/cxgbe/iw_cxgbe
Navdeep Parhar
np at FreeBSD.org
Mon Mar 27 03:11:52 UTC 2017
Author: np
Date: Mon Mar 27 03:11:51 2017
New Revision: 316008
URL: https://svnweb.freebsd.org/changeset/base/316008
Log:
cxgbe/iw_cxgbe: Remove unused code.
MFC after: 3 days
Modified:
head/sys/dev/cxgbe/iw_cxgbe/cm.c
Modified: head/sys/dev/cxgbe/iw_cxgbe/cm.c
==============================================================================
--- head/sys/dev/cxgbe/iw_cxgbe/cm.c Mon Mar 27 01:06:25 2017 (r316007)
+++ head/sys/dev/cxgbe/iw_cxgbe/cm.c Mon Mar 27 03:11:51 2017 (r316008)
@@ -89,7 +89,6 @@ static enum c4iw_ep_state state_read(str
static void __state_set(struct c4iw_ep_common *epc, enum c4iw_ep_state tostate);
static void state_set(struct c4iw_ep_common *epc, enum c4iw_ep_state tostate);
static void *alloc_ep(int size, gfp_t flags);
-void __free_ep(struct c4iw_ep_common *epc);
static int find_route(__be32 local_ip, __be32 peer_ip, __be16 local_port,
__be16 peer_port, u8 tos, struct nhop4_extended *pnh4);
static void close_socket(struct socket *so);
@@ -938,16 +937,6 @@ alloc_ep(int size, gfp_t gfp)
return (epc);
}
-void
-__free_ep(struct c4iw_ep_common *epc)
-{
- CTR2(KTR_IW_CXGBE, "%s:feB %p", __func__, epc);
- KASSERT(!epc->so, ("%s warning ep->so %p \n", __func__, epc->so));
- KASSERT(!epc->entry.tqe_prev, ("%s epc %p still on req list!\n", __func__, epc));
- free(epc, M_DEVBUF);
- CTR2(KTR_IW_CXGBE, "%s:feE %p", __func__, epc);
-}
-
void _c4iw_free_ep(struct kref *kref)
{
struct c4iw_ep *ep;
More information about the svn-src-head
mailing list