Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05f77f85 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 963267bc
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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);