]> git.ipfire.org Git - thirdparty/hostap.git/commit
Remove unnecessary NULL check from hostapd_config_read_wpa_psk() call
authorJouni Malinen <j@w1.fi>
Mon, 26 Dec 2016 15:42:41 +0000 (17:42 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 26 Dec 2016 15:42:41 +0000 (17:42 +0200)
commit34e29dfd4b98f50f324cee465fb24cfb1291660b
tree65b1c5ad201c30ce73523fb1f78fa0ebc1cc26a7
parent9ec3debf24f8acacdb162f0f53f241b1859aa503
Remove unnecessary NULL check from hostapd_config_read_wpa_psk() call

This function is already checking the fname argument against NULL, so
use that check on its own instead of duplicating the check in the only
caller.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ap_config.c