diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index 4c2949d40..91e66b2af 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -4640,18 +4640,6 @@ void wpas_request_connection(struct wpa_supplicant *wpa_s) } -void dump_freq_array(struct wpa_supplicant *wpa_s, const char *title, - int *freq_array, unsigned int len) -{ - unsigned int i; - - wpa_dbg(wpa_s, MSG_DEBUG, "Shared frequencies (len=%u): %s", - len, title); - for (i = 0; i < len; i++) - wpa_dbg(wpa_s, MSG_DEBUG, "freq[%u]: %d", i, freq_array[i]); -} - - void dump_freq_data(struct wpa_supplicant *wpa_s, const char *title, struct wpa_used_freq_data *freqs_data, unsigned int len) diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h index b5cc49b9b..c51a70305 100644 --- a/wpa_supplicant/wpa_supplicant_i.h +++ b/wpa_supplicant/wpa_supplicant_i.h @@ -995,8 +995,6 @@ int wpas_network_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid); int wpas_init_ext_pw(struct wpa_supplicant *wpa_s); -void dump_freq_array(struct wpa_supplicant *wpa_s, const char *title, - int *freq_array, unsigned int len); void dump_freq_data(struct wpa_supplicant *wpa_s, const char *title, struct wpa_used_freq_data *freqs_data, unsigned int len);