@@ -1184,12 +1184,6 @@ bool network_bss_list_isempty(struct network *network)
return l_queue_isempty(network->bss_list);
}
-void network_bss_list_clear(struct network *network)
-{
- l_queue_destroy(network->bss_list, NULL);
- network->bss_list = l_queue_new();
-}
-
struct network_prune_data {
struct network *network;
struct l_queue *new_list;
@@ -70,7 +70,6 @@ void network_connect_failed(struct network *network, bool in_handshake);
bool network_bss_add(struct network *network, struct scan_bss *bss);
bool network_bss_update(struct network *network, struct scan_bss *bss);
bool network_bss_list_isempty(struct network *network);
-void network_bss_list_clear(struct network *network);
void network_bss_list_prune(struct network *network, struct l_queue *new_list);
struct scan_bss *network_bss_list_pop(struct network *network);