mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
e9a3e671c0
commit
66e8b6c31b
8 changed files with 0 additions and 47 deletions
|
|
@ -58,8 +58,6 @@
|
|||
#ifndef CONFIG_BT_HCIUART_DEBUG
|
||||
#undef BT_DBG
|
||||
#define BT_DBG( A... )
|
||||
#undef BT_DMP
|
||||
#define BT_DMP( A... )
|
||||
#endif
|
||||
|
||||
static int hciextn = 1;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@
|
|||
#ifndef CONFIG_BT_HCIUART_DEBUG
|
||||
#undef BT_DBG
|
||||
#define BT_DBG( A... )
|
||||
#undef BT_DMP
|
||||
#define BT_DMP( A... )
|
||||
#endif
|
||||
|
||||
static int reset = 0;
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@
|
|||
#ifndef CONFIG_BT_HCIUSB_DEBUG
|
||||
#undef BT_DBG
|
||||
#define BT_DBG(D...)
|
||||
#undef BT_DMP
|
||||
#define BT_DMP(D...)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_HCIUSB_ZERO_PACKET
|
||||
|
|
|
|||
Loading…
Reference in a new issue