diff mbox series

[BlueZ,v3,1/5] mesh: Delete unused function

Message ID 20200610171121.46910-2-inga.stotland@intel.com
State Superseded
Headers show
Series [BlueZ,v3,1/5] mesh: Delete unused function | expand

Commit Message

Inga Stotland June 10, 2020, 5:11 p.m. UTC
This deletes unused function node_is_provisioned()
---
 mesh/node.c | 5 -----
 mesh/node.h | 1 -
 2 files changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/mesh/node.c b/mesh/node.c
index db888d27c..d1d4da23d 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -598,11 +598,6 @@  bool node_is_provisioner(struct mesh_node *node)
 	return node->provisioner;
 }
 
-bool node_is_provisioned(struct mesh_node *node)
-{
-	return (!IS_UNASSIGNED(node->primary));
-}
-
 void node_app_key_delete(struct mesh_node *node, uint16_t net_idx,
 							uint16_t app_idx)
 {
diff --git a/mesh/node.h b/mesh/node.h
index 290681e28..e26d410c8 100644
--- a/mesh/node.h
+++ b/mesh/node.h
@@ -39,7 +39,6 @@  struct mesh_node *node_find_by_addr(uint16_t addr);
 struct mesh_node *node_find_by_uuid(uint8_t uuid[16]);
 struct mesh_node *node_find_by_token(uint64_t token);
 bool node_is_provisioner(struct mesh_node *node);
-bool node_is_provisioned(struct mesh_node *node);
 void node_app_key_delete(struct mesh_node *node, uint16_t net_idx,
 							uint16_t app_idx);
 uint16_t node_get_primary(struct mesh_node *node);