3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

eap-mschapv2: remove unneeded initialization

This commit is contained in:
James Prestwood 2024-03-04 08:48:45 -08:00 committed by Denis Kenzior
parent 405b897687
commit 71a7190ed2

View File

@ -445,7 +445,6 @@ static int eap_mschapv2_check_settings(struct l_settings *settings,
if (!identity) {
secret = l_queue_find(secrets, eap_secret_info_match, setting);
if (secret) {
identity = l_strdup(secret->value);
password = l_strdup(secret->value +
strlen(secret->value) + 1);