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

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

commit 984566d9760c6f71ee2121ffdbf99ba6ad6de8f7
Author: Szymon Janc <[email protected]>
AuthorDate: Thu Dec 23 14:32:42 2021 +0100

    nimble/transport: Fix unused variable in socket transport
    
    btaddr is not used anywhere in ble_hci_sock_cmdevt_tx function.
---
 nimble/transport/socket/src/ble_hci_socket.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/nimble/transport/socket/src/ble_hci_socket.c 
b/nimble/transport/socket/src/ble_hci_socket.c
index 44de8fe..b444a24 100644
--- a/nimble/transport/socket/src/ble_hci_socket.c
+++ b/nimble/transport/socket/src/ble_hci_socket.c
@@ -333,7 +333,6 @@ ble_hci_sock_acl_tx(struct os_mbuf *om)
 static int
 ble_hci_sock_cmdevt_tx(uint8_t *hci_ev, uint8_t h4_type)
 {
-    uint8_t btaddr[6];
     struct msghdr msg;
     struct iovec iov[8];
     int len;

Reply via email to