From 0efdb91c907c253a22f816d9da2511c26588068f Mon Sep 17 00:00:00 2001 From: Inga Stotland Date: Thu, 21 May 2020 17:34:52 -0700 Subject: [PATCH] mesh: Remove unused structure member This removes unused "agent" member from join_data structure. Change-Id: I58446ca4058a394f3f1a0b4fac6f01be0c0cb3d0 Signed-off-by: Abhay Agarwal --- mesh/mesh.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mesh/mesh.c b/mesh/mesh.c index 20c7c94..fec472c 100644 --- a/mesh/mesh.c +++ b/mesh/mesh.c @@ -71,7 +71,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; @@ -318,8 +317,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); -- 2.7.4