summaryrefslogtreecommitdiff
path: root/mesh/net.c
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-06-05 14:31:43 -0700
committerBrian Gix <brian.gix@intel.com>2020-06-08 13:30:50 -0700
commitbae266797bb2e9c02d8cf2f6522e73f96b41ad52 (patch)
treed0c33a9528418256a7ebb2634dbd5ef3833d1301 /mesh/net.c
parentb55b94c647a474a47ad15f468e749ea95f0e8b19 (diff)
downloadbluez-bae266797bb2e9c02d8cf2f6522e73f96b41ad52.tar.gz
mesh: Remove unused/redundant functions
This removes mesh_net_provisioner_mode_set (unused) and mesh_net_provisioner_mode_get (duplicates node_is_provisioner)
Diffstat (limited to 'mesh/net.c')
-rw-r--r--mesh/net.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/mesh/net.c b/mesh/net.c
index 07813eec4..c12dd6541 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -3362,16 +3362,6 @@ void mesh_net_set_iv_index(struct mesh_net *net, uint32_t index, bool update)
net->iv_update = update;
}
-void mesh_net_provisioner_mode_set(struct mesh_net *net, bool mode)
-{
- net->provisioner = mode;
-}
-
-bool mesh_net_provisioner_mode_get(struct mesh_net *net)
-{
- return net->provisioner;
-}
-
uint16_t mesh_net_get_primary_idx(struct mesh_net *net)
{
struct mesh_subnet *subnet;