Remove unused variable update

Commit e8b85c078e ("iface match: Unspecified matched interfaces should
not log driver fails") removed the only use of the added interface wpa_s
pointer, but left that pointer setting in place. Remove it to keep
static analyzers happy.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-11-02 16:36:14 +02:00 committed by Jouni Malinen
parent 589bf1f7a9
commit f724dd1bfd

View File

@ -6789,7 +6789,7 @@ static int wpa_supplicant_match_existing(struct wpa_global *global)
continue;
iface = wpa_supplicant_match_iface(global, ifi->if_name);
if (iface) {
wpa_s = wpa_supplicant_add_iface(global, iface, NULL);
wpa_supplicant_add_iface(global, iface, NULL);
os_free(iface);
}
}