mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 16:24:28 +08:00
mesh: Remove unused structure member
This removes unused "agent" member from join_data structure.
This commit is contained in:
parent
1450819e23
commit
8afaf5e958
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user