aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-06-08 19:16:56 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-08 19:16:56 -0400
commit05f77f85f47e30a53f7971b687f3b0250e42f665 (patch)
tree798b920ff7b1959c43006e7c5c4462acafd8233e /include/net
parent963267bc5d4de4a0da104a64300375d186575332 (diff)
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 <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/bluetooth.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 3ad5390a4dd5..144d1d5dd82f 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
171 return skb; 171 return skb;
172} 172}
173 173
174static inline int skb_frags_no(struct sk_buff *skb)
175{
176 register struct sk_buff *frag = skb_shinfo(skb)->frag_list;
177 register int n = 1;
178
179 for (; frag; frag=frag->next, n++);
180 return n;
181}
182
183int bt_err(__u16 code); 174int bt_err(__u16 code);
184 175
185extern int hci_sock_init(void); 176extern int hci_sock_init(void);