Commit 4ffab549 authored by Patrik Flykt's avatar Patrik Flykt Committed by Slava Monich

service: Remove obsolete __connman_service_update_ordering() function

The function __connman_service_update_ordering() does not provide any
features anymore, thus it is removed.
parent dcf54ced
......@@ -977,8 +977,6 @@ bool __connman_connection_update_gateway(void)
default_gateway = find_default_gateway();
__connman_service_update_ordering();
DBG("default %p", default_gateway);
/*
......
......@@ -701,7 +701,6 @@ const char *__connman_service_get_path(struct connman_service *service);
const char *__connman_service_get_name(struct connman_service *service);
unsigned int __connman_service_get_order(struct connman_service *service);
enum connman_service_state __connman_service_get_state(struct connman_service *service);
void __connman_service_update_ordering(void);
struct connman_network *__connman_service_get_network(struct connman_service *service);
enum connman_service_security __connman_service_get_security(struct connman_service *service);
const char *__connman_service_get_phase2(struct connman_service *service);
......
......@@ -7071,12 +7071,6 @@ unsigned int __connman_service_get_order(struct connman_service *service)
return order;
}
void __connman_service_update_ordering(void)
{
if (service_list && service_list->next)
service_list = g_list_sort(service_list, service_compare);
}
static enum connman_service_type convert_network_type(struct connman_network *network)
{
enum connman_network_type type = connman_network_get_type(network);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment