Subject: [2.6 patch] sctp/outqueue.c: remove an unused function

From: Adrian Bunk <[email-masked]>
Date: Fri, 29 Oct 2004 01:03:53 +0200

The patch below removes an unused function from net/sctp/outqueue.c

diffstat output:
 net/sctp/outqueue.c |   10 ----------
 1 files changed, 10 deletions(-)

Signed-off-by: Adrian Bunk <[email-masked]>

- --- linux-2.6.10-rc1-mm1-full/net/sctp/outqueue.c.old	2004-10-28 23:52:37.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/net/sctp/outqueue.c	2004-10-28 23:52:50.000000000 +0200
@@ -98,16 +98,6 @@
 	return;
 }
 
- -/* Insert a chunk behind chunk 'pos'. */
- -static inline void sctp_outq_insert_data(struct sctp_outq *q,
- -					 struct sctp_chunk *ch,
- -					 struct sctp_chunk *pos)
- -{
- -	__skb_insert((struct sk_buff *)ch, (struct sk_buff *)pos->prev,
- -		     (struct sk_buff *)pos, pos->list);
- -	q->out_qlen += ch->skb->len;
- -}
- -
 /*
  * SFR-CACC algorithm:
  * D) If count_of_newacks is greater than or equal to 2