From 504df28a1d8ec01f97687181e4dfc83c21c3be86 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 26 May 2014 16:16:17 +0300 Subject: [PATCH] Remove unused dump_freq_array() This function is not used anymore. Signed-off-by: Jouni Malinen --- wpa_supplicant/wpa_supplicant.c | 12 ------------ wpa_supplicant/wpa_supplicant_i.h | 2 -- 2 files changed, 14 deletions(-) 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);