summaryrefslogtreecommitdiff
path: root/mesh/node.c
diff options
context:
space:
mode:
authorJakub Witowski <jakub.witowski@silvair.com>2020-01-30 15:34:24 +0100
committerBrian Gix <brian.gix@intel.com>2020-01-31 10:22:16 -0800
commit2f9ec7f8870099623ef198cedee14b97a0ae45ca (patch)
tree8f84010bbb8915c0172be3ae0a8f7817a4db6085 /mesh/node.c
parent845541f052f725eb263daf5f3ff72b8caaabf5ed (diff)
downloadbluez-2f9ec7f8870099623ef198cedee14b97a0ae45ca.tar.gz
mesh: remove unused node_set_device_key()
This patch removes node_set_device_key() function, because it is unused.
Diffstat (limited to 'mesh/node.c')
-rw-r--r--mesh/node.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mesh/node.c b/mesh/node.c
index 6fe70742d..d4be070fa 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -628,11 +628,6 @@ uint16_t node_get_primary(struct mesh_node *node)
return node->primary;
}
-void node_set_device_key(struct mesh_node *node, uint8_t key[16])
-{
- memcpy(node->dev_key, key, 16);
-}
-
const uint8_t *node_get_device_key(struct mesh_node *node)
{
if (!node)