Remove unnecessary NULL check from LOG_LEVEL handler
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 21 Aug 2015 17:02:10 +0000 (20:02 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 21 Aug 2015 21:22:12 +0000 (00:22 +0300)
commit137b293963c2782e86154ad4c689a686ab0c13c3
treecbfd2cfc234a255ed5c806fdc5302bcb99659514
parent941cd3ec7042438ac98ae48212340238173275f9
Remove unnecessary NULL check from LOG_LEVEL handler

cmd cannot be NULL here, so there is no need to check it before calling
os_strlen().

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/ctrl_iface.c
wpa_supplicant/ctrl_iface.c