Bluetooth: Mesh: Remove bt_mesh_beacon_priv_random_get as unused

This function is not used anywhere.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
Pavel Vasilyev 2023-08-24 13:33:22 +02:00 committed by Fabio Baltieri
commit 4fc1734917
2 changed files with 0 additions and 7 deletions

View file

@ -794,9 +794,3 @@ void bt_mesh_beacon_disable(void)
/* If this fails, we'll do an early exit in the work handler. */
(void)k_work_cancel_delayable(&beacon_timer);
}
void bt_mesh_beacon_priv_random_get(uint8_t *random, size_t size)
{
__ASSERT(size <= sizeof(priv_random.val), "Invalid random value size %u", size);
memcpy(random, priv_random.val, size);
}

View file

@ -15,4 +15,3 @@ int bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf
void bt_mesh_beacon_init(void);
void bt_mesh_beacon_update(struct bt_mesh_subnet *sub);
void bt_mesh_beacon_priv_random_get(uint8_t *random, size_t size);