Skip to contentSkip to conversation

sctp/outqueue.c: remove an unused function

PATCH New Adrian Bunk 2 participants 3 messages Oct 28, 2004 – Nov 2, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sctp/outqueue.c: remove an unused function

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

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

#1 lore raw

PATCH 1/1 sctp/outqueue.c: remove an unused function

[ 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(-)
net/sctp/outqueue.c renamed from net/sctp/outqueue.c.old +0 -10
@@ -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
maintainer Applied
#2 lore raw
Quoted 1 line · On Fri, 29 Oct 2004 02:22:01 +0200 Adrian Bunk <[email protected]> wrote:

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

Applied, thanks Adrian.