cxgbe/iw_cxgbe: Remove unused code.
MFC after: 3 days
This commit is contained in:
parent
5e386598a6
commit
dee33b4bd5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316008
@ -89,7 +89,6 @@ static enum c4iw_ep_state state_read(struct c4iw_ep_common *epc);
|
|||||||
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 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);
|
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,
|
static int find_route(__be32 local_ip, __be32 peer_ip, __be16 local_port,
|
||||||
__be16 peer_port, u8 tos, struct nhop4_extended *pnh4);
|
__be16 peer_port, u8 tos, struct nhop4_extended *pnh4);
|
||||||
static void close_socket(struct socket *so);
|
static void close_socket(struct socket *so);
|
||||||
@ -938,16 +937,6 @@ alloc_ep(int size, gfp_t gfp)
|
|||||||
return (epc);
|
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)
|
void _c4iw_free_ep(struct kref *kref)
|
||||||
{
|
{
|
||||||
struct c4iw_ep *ep;
|
struct c4iw_ep *ep;
|
||||||
|
Loading…
Reference in New Issue
Block a user