mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
netconfig: Rename netconfig destructor
The old name will be repurposed for the API.
This commit is contained in:
parent
64ff5dda77
commit
c8dfb6061d
@ -83,7 +83,7 @@ static void netconfig_ifaddr_destroy(void *data)
|
|||||||
l_free(ifaddr);
|
l_free(ifaddr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void netconfig_destroy(void *data)
|
static void netconfig_free(void *data)
|
||||||
{
|
{
|
||||||
struct netconfig *netconfig = data;
|
struct netconfig *netconfig = data;
|
||||||
|
|
||||||
@ -750,7 +750,7 @@ bool netconfig_ifindex_remove(uint32_t ifindex)
|
|||||||
resolve_remove(netconfig->ifindex);
|
resolve_remove(netconfig->ifindex);
|
||||||
}
|
}
|
||||||
|
|
||||||
netconfig_destroy(netconfig);
|
netconfig_free(netconfig);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -818,7 +818,7 @@ static void netconfig_exit(void)
|
|||||||
l_netlink_destroy(rtnl);
|
l_netlink_destroy(rtnl);
|
||||||
rtnl = NULL;
|
rtnl = NULL;
|
||||||
|
|
||||||
l_queue_destroy(netconfig_list, netconfig_destroy);
|
l_queue_destroy(netconfig_list, netconfig_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
IWD_MODULE(netconfig, netconfig_init, netconfig_exit)
|
IWD_MODULE(netconfig, netconfig_init, netconfig_exit)
|
||||||
|
Loading…
Reference in New Issue
Block a user