Browse Source

Remove unused dump_freq_array()

This function is not used anymore.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 11 years ago
parent
commit
504df28a1d
2 changed files with 0 additions and 14 deletions
  1. 0 12
      wpa_supplicant/wpa_supplicant.c
  2. 0 2
      wpa_supplicant/wpa_supplicant_i.h

+ 0 - 12
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)

+ 0 - 2
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);