netdev
[Top] [All Lists]

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

To: sri@xxxxxxxxxx
Subject: [2.6 patch] sctp/outqueue.c: remove an unused function
From: Adrian Bunk <bunk@xxxxxxxxx>
Date: Fri, 29 Oct 2004 02:22:01 +0200
Cc: lksctp-developers@xxxxxxxxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20041028230353.GW3207@stusta.de>
References: <20041028230353.GW3207@stusta.de>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
[ this time without the problems due to a digital signature... ]

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 <bunk@xxxxxxxxx>

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

<Prev in Thread] Current Thread [Next in Thread>