: bluetooth: Kill skb_frags_no(), unused.
Subsystems (3)
David Miller
maintainerPATCH 1/15 : bluetooth: Kill skb_frags_no(), unused.
Furthermore, it twiddles with the details of SKB list handling directly, which we're trying to eliminate.
Signed-off-by David S. Miller <[email protected]>
--- include/net/bluetooth/bluetooth.h | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-)
include/net/bluetooth/bluetooth.h +0 -9
@@ -171,15 +171,6 @@ static inline struct sk_buff *bt_skb_send_alloc(struct sock *sk, unsigned long lreturn skb; } -static inline int skb_frags_no (struct sk_buff *skb) -{ - registerstruct sk_buff *frag =skb_shinfo (skb)->frag_list; - registerint n =1 ; - -for (; frag; frag=frag->next, n++); -return n; -} -int bt_err (__u16 code);extern int hci_sock_init (void );
Signature · 1 line
1.6.3.2
Hi Dave,
Quoted 2 lines
Furthermore, it twiddles with the details of SKB list handling directly, which we're trying to eliminate.
seems to be unused anyway ;)
Quoted 1 line
Signed-off-by David S. Miller <[email protected]>
Acked-by Marcel Holtmann <[email protected]>
Regards
Marcel