summaryrefslogtreecommitdiff
path: root/drivers/net/cassini.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-21 21:28:51 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-21 21:28:51 -0700
commit43f59c89399fd76883a06c551f24794e98409432 (patch)
tree7ef8ac7047ea5e74c9d522d6438d03fb69a3ba67 /drivers/net/cassini.c
parentf5fff5dc8a7a3f395b0525c02ba92c95d42b7390 (diff)
downloadlwn-43f59c89399fd76883a06c551f24794e98409432.tar.gz
lwn-43f59c89399fd76883a06c551f24794e98409432.zip
net: Remove __skb_insert() calls outside of skbuff internals.
This minor cleanup simplifies later changes which will convert struct sk_buff and friends over to using struct list_head. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cassini.c')
-rw-r--r--drivers/net/cassini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c
index f1936d51b458..40ff6a90d0da 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/cassini.c
@@ -2182,7 +2182,7 @@ static inline void cas_rx_flow_pkt(struct cas *cp, const u64 *words,
* do any additional locking here. stick the buffer
* at the end.
*/
- __skb_insert(skb, flow->prev, (struct sk_buff *) flow, flow);
+ __skb_queue_tail(flow, skb);
if (words[0] & RX_COMP1_RELEASE_FLOW) {
while ((skb = __skb_dequeue(flow))) {
cas_skb_release(skb);