Skip to content

Commit bf730be

Browse files
committed
Bluetooth: Mesh: Remove bt_mesh_beacon_priv_random_get as unused
This function is not used anywhere. Signed-off-by: Pavel Vasilyev <[email protected]>
1 parent c910bd7 commit bf730be

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

subsys/bluetooth/mesh/beacon.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -794,9 +794,3 @@ void bt_mesh_beacon_disable(void)
794794
/* If this fails, we'll do an early exit in the work handler. */
795795
(void)k_work_cancel_delayable(&beacon_timer);
796796
}
797-
798-
void bt_mesh_beacon_priv_random_get(uint8_t *random, size_t size)
799-
{
800-
__ASSERT(size <= sizeof(priv_random.val), "Invalid random value size %u", size);
801-
memcpy(random, priv_random.val, size);
802-
}

subsys/bluetooth/mesh/beacon.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ int bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf
1515

1616
void bt_mesh_beacon_init(void);
1717
void bt_mesh_beacon_update(struct bt_mesh_subnet *sub);
18-
void bt_mesh_beacon_priv_random_get(uint8_t *random, size_t size);

0 commit comments

Comments
 (0)