From: hyunuktak Date: Fri, 23 Mar 2018 01:27:16 +0000 (+0900) Subject: Fix a coverity for logically dead code X-Git-Tag: accepted/tizen/unified/20180403.060112^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef389a7b9279d9e7c2a677041ef87f5d7dad605a;p=platform%2Fupstream%2Fconnman.git Fix a coverity for logically dead code Change-Id: I649ed8bbf277611324934db7895d7a8c0cb25ec8 Signed-off-by: hyunuktak --- diff --git a/plugins/wifi.c b/plugins/wifi.c index ebbd6b8..3135484 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -3729,11 +3729,6 @@ static void peer_changed(GSupplicantPeer *peer, GSupplicantPeerState state) struct connman_peer *connman_peer; const char *identifier; -#if defined TIZEN_EXT - if (!wifi) - return; -#endif - identifier = g_supplicant_peer_get_identifier(peer); DBG("ident: %s", identifier);