diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2005-08-06 06:36:51 -0400 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2005-08-06 06:36:51 -0400 |
| commit | 66e8b6c31b9254243afaac8af4135e84e11dd38e (patch) | |
| tree | cf25ee6d3b555a246be9bf8b783d3a92325cf5d9 /include/net | |
| parent | e9a3e671c09d419f29710d8620ed916d3bf7d7ab (diff) | |
[Bluetooth] Remove unused functions and cleanup symbol exports
This patch removes the unused bt_dump() function and it also removes
its BT_DMP macro. It also unexports the hci_dev_get(), hci_send_cmd()
and hci_si_event() functions.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/bluetooth/bluetooth.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 42a84c53678b..06b24f637026 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h | |||
| @@ -57,12 +57,6 @@ | |||
| 57 | #define BT_DBG(fmt, arg...) printk(KERN_INFO "%s: " fmt "\n" , __FUNCTION__ , ## arg) | 57 | #define BT_DBG(fmt, arg...) printk(KERN_INFO "%s: " fmt "\n" , __FUNCTION__ , ## arg) |
| 58 | #define BT_ERR(fmt, arg...) printk(KERN_ERR "%s: " fmt "\n" , __FUNCTION__ , ## arg) | 58 | #define BT_ERR(fmt, arg...) printk(KERN_ERR "%s: " fmt "\n" , __FUNCTION__ , ## arg) |
| 59 | 59 | ||
| 60 | #ifdef HCI_DATA_DUMP | ||
| 61 | #define BT_DMP(buf, len) bt_dump(__FUNCTION__, buf, len) | ||
| 62 | #else | ||
| 63 | #define BT_DMP(D...) | ||
| 64 | #endif | ||
| 65 | |||
| 66 | extern struct proc_dir_entry *proc_bt; | 60 | extern struct proc_dir_entry *proc_bt; |
| 67 | 61 | ||
| 68 | /* Connection and socket states */ | 62 | /* Connection and socket states */ |
| @@ -174,8 +168,6 @@ static inline int skb_frags_no(struct sk_buff *skb) | |||
| 174 | return n; | 168 | return n; |
| 175 | } | 169 | } |
| 176 | 170 | ||
| 177 | void bt_dump(char *pref, __u8 *buf, int count); | ||
| 178 | |||
| 179 | int bt_err(__u16 code); | 171 | int bt_err(__u16 code); |
| 180 | 172 | ||
| 181 | #endif /* __BLUETOOTH_H */ | 173 | #endif /* __BLUETOOTH_H */ |
