]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove unused dump_freq_array()
authorJouni Malinen <j@w1.fi>
Mon, 26 May 2014 13:16:17 +0000 (16:16 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 14 Jun 2014 21:21:41 +0000 (00:21 +0300)
This function is not used anymore.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h

index 4c2949d403bd5dee6805dd01375548e152aad4d2..91e66b2afb78dc0070d61648cacb6b471545ea9c 100644 (file)
@@ -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)
index b5cc49b9b4a3ddfbd6f2d03da1ed5733d4f6b71f..c51a70305b20c5b45ece0c4d8da156ec68dd1f10 100644 (file)
@@ -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);