This removes unused "agent" member from join_data structure.
Change-Id: I58446ca4058a394f3f1a0b4fac6f01be0c0cb3d0
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
struct join_data{
struct l_dbus_message *msg;
- struct mesh_agent *agent;
char *sender;
struct mesh_node *node;
uint32_t disc_watch;
l_dbus_remove_watch(dbus_get_bus(),
join_pending->disc_watch);
- mesh_agent_remove(join_pending->agent);
-
if (failed)
node_remove(join_pending->node);