mesh: Delete unused function
PATCH 1/1 mesh: Delete unused function
This deletes unused function node_is_provisioned()
--- mesh/node.c | 5 ----- mesh/node.h | 1 - 2 files changed, 6 deletions(-)
mesh/node.c +0 -5
@@ -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) {
mesh/node.h +0 -1
@@ -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);
Signature · 1 line
2.26.2