[PATCH net-next 2/8] rxrpc: Delete unused rxrpc_kernel_free_skb()
From: David Howells
Date: Wed Sep 07 2016 - 11:22:49 EST
Delete rxrpc_kernel_free_skb() as it's unused.
Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---
net/rxrpc/skbuff.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/net/rxrpc/skbuff.c b/net/rxrpc/skbuff.c
index 9752f8b1fdd0..a546a2ba6341 100644
--- a/net/rxrpc/skbuff.c
+++ b/net/rxrpc/skbuff.c
@@ -148,19 +148,6 @@ void rxrpc_packet_destructor(struct sk_buff *skb)
_leave("");
}
-/**
- * rxrpc_kernel_free_skb - Free an RxRPC socket buffer
- * @skb: The socket buffer to be freed
- *
- * Let RxRPC free its own socket buffer, permitting it to maintain debug
- * accounting.
- */
-void rxrpc_kernel_free_skb(struct sk_buff *skb)
-{
- rxrpc_free_skb(skb);
-}
-EXPORT_SYMBOL(rxrpc_kernel_free_skb);
-
/*
* Note the existence of a new-to-us socket buffer (allocated or dequeued).
*/