You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2025/03/13 13:48:49 UTC
(mynewt-nimble) 03/10: nimble/ll: Remove unused function
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
commit a9ac9116c338a3541bae4e5a62c097ec0745d88e
Author: Mariusz Skamra <ma...@codecoup.pl>
AuthorDate: Tue Dec 17 11:24:11 2024 +0100
nimble/ll: Remove unused function
This removes unused ble_ll_iso_big_last_tx_timestamp_get function.
---
nimble/controller/include/controller/ble_ll_iso_big.h | 3 ---
nimble/controller/src/ble_ll_iso_big.c | 15 ---------------
2 files changed, 18 deletions(-)
diff --git a/nimble/controller/include/controller/ble_ll_iso_big.h b/nimble/controller/include/controller/ble_ll_iso_big.h
index 30cf1b46a..47d33bd3b 100644
--- a/nimble/controller/include/controller/ble_ll_iso_big.h
+++ b/nimble/controller/include/controller/ble_ll_iso_big.h
@@ -35,9 +35,6 @@ int ble_ll_iso_big_biginfo_len(struct ble_ll_iso_big *big);
struct ble_ll_iso_bis *ble_ll_iso_big_find_bis_by_handle(uint16_t conn_handle);
struct ble_ll_isoal_mux *ble_ll_iso_big_find_mux_by_handle(uint16_t conn_handle);
-int ble_ll_iso_big_last_tx_timestamp_get(struct ble_ll_iso_bis *bis,
- uint16_t *packet_seq_num,
- uint32_t *timestamp);
void ble_ll_iso_big_chan_map_update(void);
diff --git a/nimble/controller/src/ble_ll_iso_big.c b/nimble/controller/src/ble_ll_iso_big.c
index 492bf2376..8976c5e26 100644
--- a/nimble/controller/src/ble_ll_iso_big.c
+++ b/nimble/controller/src/ble_ll_iso_big.c
@@ -240,21 +240,6 @@ ble_ll_iso_big_find_mux_by_handle(uint16_t conn_handle)
return NULL;
}
-int
-ble_ll_iso_big_last_tx_timestamp_get(struct ble_ll_iso_bis *bis,
- uint16_t *packet_seq_num, uint32_t *timestamp)
-{
- struct ble_ll_iso_big *big;
-
- big = bis->big;
-
- *packet_seq_num = big->bis_counter;
- *timestamp = (uint64_t)big->event_start * 1000000 / 32768 +
- big->event_start_us;
-
- return 0;
-}
-
static void
ble_ll_iso_big_biginfo_chanmap_update(struct ble_ll_iso_big *big)
{