diff options
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 3ad5390a4dd5..968166a45f86 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h | |||
@@ -81,12 +81,6 @@ enum { | |||
81 | BT_CLOSED | 81 | BT_CLOSED |
82 | }; | 82 | }; |
83 | 83 | ||
84 | /* Endianness conversions */ | ||
85 | #define htobs(a) __cpu_to_le16(a) | ||
86 | #define htobl(a) __cpu_to_le32(a) | ||
87 | #define btohs(a) __le16_to_cpu(a) | ||
88 | #define btohl(a) __le32_to_cpu(a) | ||
89 | |||
90 | /* BD Address */ | 84 | /* BD Address */ |
91 | typedef struct { | 85 | typedef struct { |
92 | __u8 b[6]; | 86 | __u8 b[6]; |
@@ -171,15 +165,6 @@ static inline struct sk_buff *bt_skb_send_alloc(struct sock *sk, unsigned long l | |||
171 | return skb; | 165 | return skb; |
172 | } | 166 | } |
173 | 167 | ||
174 | static 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 | |||
183 | int bt_err(__u16 code); | 168 | int bt_err(__u16 code); |
184 | 169 | ||
185 | extern int hci_sock_init(void); | 170 | extern int hci_sock_init(void); |