[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>
This commit is contained in:
@ -57,12 +57,6 @@
|
||||
#define BT_DBG(fmt, arg...) printk(KERN_INFO "%s: " fmt "\n" , __FUNCTION__ , ## arg)
|
||||
#define BT_ERR(fmt, arg...) printk(KERN_ERR "%s: " fmt "\n" , __FUNCTION__ , ## arg)
|
||||
|
||||
#ifdef HCI_DATA_DUMP
|
||||
#define BT_DMP(buf, len) bt_dump(__FUNCTION__, buf, len)
|
||||
#else
|
||||
#define BT_DMP(D...)
|
||||
#endif
|
||||
|
||||
extern struct proc_dir_entry *proc_bt;
|
||||
|
||||
/* Connection and socket states */
|
||||
@ -174,8 +168,6 @@ static inline int skb_frags_no(struct sk_buff *skb)
|
||||
return n;
|
||||
}
|
||||
|
||||
void bt_dump(char *pref, __u8 *buf, int count);
|
||||
|
||||
int bt_err(__u16 code);
|
||||
|
||||
#endif /* __BLUETOOTH_H */
|
||||
|
Reference in New Issue
Block a user