* [PATCH 1/15]: bluetooth: Kill skb_frags_no(), unused.
@ 2009-06-09 12:01 David Miller
2009-06-09 15:27 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2009-06-09 12:01 UTC (permalink / raw)
To: netdev
Furthermore, it twiddles with the details of SKB list handling
directly, which we're trying to eliminate.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
include/net/bluetooth/bluetooth.h | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 3ad5390..144d1d5 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -171,15 +171,6 @@ static inline struct sk_buff *bt_skb_send_alloc(struct sock *sk, unsigned long l
return skb;
}
-static inline int skb_frags_no(struct sk_buff *skb)
-{
- register struct sk_buff *frag = skb_shinfo(skb)->frag_list;
- register int n = 1;
-
- for (; frag; frag=frag->next, n++);
- return n;
-}
-
int bt_err(__u16 code);
extern int hci_sock_init(void);
--
1.6.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/15]: bluetooth: Kill skb_frags_no(), unused.
2009-06-09 12:01 [PATCH 1/15]: bluetooth: Kill skb_frags_no(), unused David Miller
@ 2009-06-09 15:27 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-06-09 15:27 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Hi Dave,
> Furthermore, it twiddles with the details of SKB list handling
> directly, which we're trying to eliminate.
seems to be unused anyway ;)
> Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-09 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 12:01 [PATCH 1/15]: bluetooth: Kill skb_frags_no(), unused David Miller
2009-06-09 15:27 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox