diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-08-06 12:36:51 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-08-06 12:36:51 +0200 |
commit | 66e8b6c31b9254243afaac8af4135e84e11dd38e (patch) | |
tree | cf25ee6d3b555a246be9bf8b783d3a92325cf5d9 /drivers/bluetooth/hci_h4.c | |
parent | e9a3e671c09d419f29710d8620ed916d3bf7d7ab (diff) | |
download | linux-3.10-66e8b6c31b9254243afaac8af4135e84e11dd38e.tar.gz linux-3.10-66e8b6c31b9254243afaac8af4135e84e11dd38e.tar.bz2 linux-3.10-66e8b6c31b9254243afaac8af4135e84e11dd38e.zip |
[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 'drivers/bluetooth/hci_h4.c')
-rw-r--r-- | drivers/bluetooth/hci_h4.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/bluetooth/hci_h4.c b/drivers/bluetooth/hci_h4.c index ade94a57bb1..533323b60e6 100644 --- a/drivers/bluetooth/hci_h4.c +++ b/drivers/bluetooth/hci_h4.c @@ -57,8 +57,6 @@ #ifndef CONFIG_BT_HCIUART_DEBUG #undef BT_DBG #define BT_DBG( A... ) -#undef BT_DMP -#define BT_DMP( A... ) #endif /* Initialize protocol */ @@ -125,7 +123,6 @@ static inline int h4_check_data_len(struct h4_struct *h4, int len) BT_DBG("len %d room %d", len, room); if (!len) { - BT_DMP(h4->rx_skb->data, h4->rx_skb->len); hci_recv_frame(h4->rx_skb); } else if (len > room) { BT_ERR("Data length is too large"); @@ -169,8 +166,6 @@ static int h4_recv(struct hci_uart *hu, void *data, int count) case H4_W4_DATA: BT_DBG("Complete data"); - BT_DMP(h4->rx_skb->data, h4->rx_skb->len); - hci_recv_frame(h4->rx_skb); h4->rx_state = H4_W4_PACKET_TYPE; |