projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
963267b
)
bluetooth: Kill skb_frags_no(), unused.
author
David S. Miller
<davem@davemloft.net>
Mon, 8 Jun 2009 23:16:56 +0000
(16:16 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 8 Jun 2009 23:16:56 +0000
(16:16 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/include/net/bluetooth/bluetooth.h
b/include/net/bluetooth/bluetooth.h
index 3ad5390a4dd5b61f8abbaeab00ba50d0cd17b07e..144d1d5dd82f807a6d49242c219d0306a0d52d59 100644
(file)
--- 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);