From: Jouni Malinen Date: Sat, 7 Jun 2014 16:04:17 +0000 (+0300) Subject: GAS server: Remove unused function parameter X-Git-Tag: hostap_2_3~345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aff0bee78aea5502a7d1784a694e6e83187b61b6;p=thirdparty%2Fhostap.git GAS server: Remove unused function parameter This parameter was not used at all, so just remove the argument instead of passing NULL. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/gas_serv.c b/src/ap/gas_serv.c index b40688060..53e11ddaf 100644 --- a/src/ap/gas_serv.c +++ b/src/ap/gas_serv.c @@ -686,7 +686,6 @@ static void anqp_add_icon_binary_file(struct hostapd_data *hapd, static struct wpabuf * gas_serv_build_gas_resp_payload(struct hostapd_data *hapd, unsigned int request, - struct gas_dialog_info *di, const u8 *home_realm, size_t home_realm_len, const u8 *icon_name, size_t icon_name_len) { @@ -962,7 +961,7 @@ static void gas_serv_req_local_processing(struct hostapd_data *hapd, { struct wpabuf *buf, *tx_buf; - buf = gas_serv_build_gas_resp_payload(hapd, qi->request, NULL, + buf = gas_serv_build_gas_resp_payload(hapd, qi->request, qi->home_realm_query, qi->home_realm_query_len, qi->icon_name, qi->icon_name_len);