summaryrefslogtreecommitdiff
path: root/mesh/mesh.c
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-05-21 17:34:52 -0700
committerBrian Gix <brian.gix@intel.com>2020-05-22 13:45:52 -0700
commit8afaf5e95806f8d617be8f77f9c19dc0eb32a7eb (patch)
treeefa7037ca7f9a5625f90376fcd64c3f1dea5fd52 /mesh/mesh.c
parent1450819e2308128872bd2e97e267e68d8f92ce1c (diff)
downloadbluez-8afaf5e95806f8d617be8f77f9c19dc0eb32a7eb.tar.gz
mesh: Remove unused structure member
This removes unused "agent" member from join_data structure.
Diffstat (limited to 'mesh/mesh.c')
-rw-r--r--mesh/mesh.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesh/mesh.c b/mesh/mesh.c
index 5fb9eedcf..14ac543e2 100644
--- a/mesh/mesh.c
+++ b/mesh/mesh.c
@@ -72,7 +72,6 @@ struct bt_mesh {
struct join_data{
struct l_dbus_message *msg;
- struct mesh_agent *agent;
char *sender;
struct mesh_node *node;
uint32_t disc_watch;
@@ -319,8 +318,6 @@ static void free_pending_join_call(bool failed)
l_dbus_remove_watch(dbus_get_bus(),
join_pending->disc_watch);
- mesh_agent_remove(join_pending->agent);
-
if (failed)
node_remove(join_pending->node);