3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

netconfig: Rename netconfig destructor

The old name will be repurposed for the API.
This commit is contained in:
Tim Kourt 2019-09-27 12:52:16 -07:00 committed by Denis Kenzior
parent 64ff5dda77
commit c8dfb6061d

View File

@ -83,7 +83,7 @@ static void netconfig_ifaddr_destroy(void *data)
l_free(ifaddr);
}
static void netconfig_destroy(void *data)
static void netconfig_free(void *data)
{
struct netconfig *netconfig = data;
@ -750,7 +750,7 @@ bool netconfig_ifindex_remove(uint32_t ifindex)
resolve_remove(netconfig->ifindex);
}
netconfig_destroy(netconfig);
netconfig_free(netconfig);
return true;
}
@ -818,7 +818,7 @@ static void netconfig_exit(void)
l_netlink_destroy(rtnl);
rtnl = NULL;
l_queue_destroy(netconfig_list, netconfig_destroy);
l_queue_destroy(netconfig_list, netconfig_free);
}
IWD_MODULE(netconfig, netconfig_init, netconfig_exit)