This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 19341c6  nimble/transport: Remove unused function
19341c6 is described below

commit 19341c6b681a17349006ef07c6cc7b9b0d4994fc
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Mon Aug 24 12:22:54 2020 +0200

    nimble/transport: Remove unused function
    
    ble_hci_trans_hs_acl_tx() is used by host, but USB transport supports
    only controller.
---
 nimble/transport/usb/src/ble_hci_usb.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/nimble/transport/usb/src/ble_hci_usb.c 
b/nimble/transport/usb/src/ble_hci_usb.c
index 31e62ed..55c91f2 100644
--- a/nimble/transport/usb/src/ble_hci_usb.c
+++ b/nimble/transport/usb/src/ble_hci_usb.c
@@ -95,18 +95,6 @@ ble_hci_trans_cfg_ll(ble_hci_trans_rx_cmd_fn *cmd_cb,
     ble_hci_usb_rx_acl_ll_arg = acl_arg;
 }
 
-int
-ble_hci_trans_hs_acl_tx(struct os_mbuf *om)
-{
-    int rc;
-
-    assert(ble_hci_usb_rx_acl_ll_cb != NULL);
-
-    rc = ble_hci_usb_rx_acl_ll_cb(om, ble_hci_usb_rx_acl_ll_arg);
-
-    return rc;
-}
-
 #define BLE_HCI_USB_EVT_COUNT  \
     (MYNEWT_VAL(BLE_HCI_EVT_HI_BUF_COUNT) + 
MYNEWT_VAL(BLE_HCI_EVT_LO_BUF_COUNT))
 

Reply via email to