mesh: Remove unused structure member

This removes unused "agent" member from join_data structure.
This commit is contained in:
Inga Stotland 2020-05-21 17:34:52 -07:00 committed by Brian Gix
parent 1450819e23
commit 8afaf5e958

View File

@ -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);