From: Jouni Malinen Date: Sat, 11 Oct 2014 15:10:27 +0000 (+0300) Subject: EAP-FAST server: Remove unused write X-Git-Tag: hostap_2_4~1354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9471493ef47b5559faffaefd71d4b4d7497c481;p=thirdparty%2Fhostap.git EAP-FAST server: Remove unused write next_type is not used in case m->check() results in ignoring the packet. Signed-off-by: Jouni Malinen --- diff --git a/src/eap_server/eap_server_fast.c b/src/eap_server/eap_server_fast.c index 2692bcedb..d5bee2203 100644 --- a/src/eap_server/eap_server_fast.c +++ b/src/eap_server/eap_server_fast.c @@ -1017,7 +1017,7 @@ static void eap_fast_process_phase2_response(struct eap_sm *sm, if (m->check(sm, priv, &buf)) { wpa_printf(MSG_DEBUG, "EAP-FAST: Phase2 check() asked to " "ignore the packet"); - next_type = eap_fast_req_failure(sm, data); + eap_fast_req_failure(sm, data); return; }