Skip to content

Commit

Permalink
bluetooth: Kill skb_frags_no(), unused.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Jun 8, 2009
1 parent 963267b commit 05f77f8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/net/bluetooth/bluetooth.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 05f77f8

Please sign in to comment.