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

STALE7963d

3 messages, 2 authors, 2004-11-02 · open the first message on its own page

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

From: Adrian Bunk <hidden>
Date: 2004-10-28 23:07:26

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- --- 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBgXrZmfzqmE8StAARAlEHAKCevPmOKkcjYcF2vr7Mjg1wsJ85eQCgtAIH
io31PrS52XafNuCn8gJAu1Q=
=KiNr
-----END PGP SIGNATURE-----

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

From: Adrian Bunk <hidden>
Date: 2004-10-29 00:42:47

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

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

From: "David S. Miller" <davem@davemloft.net>
Date: 2004-11-02 01:14:05

On Fri, 29 Oct 2004 02:22:01 +0200
Adrian Bunk [off-list ref] wrote:
The patch below removes an unused function from net/sctp/outqueue.c
Applied, thanks Adrian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help