From: Seonah Moon Date: Mon, 16 Jul 2018 04:17:45 +0000 (+0900) Subject: Remove unnecessary code X-Git-Tag: accepted/tizen/unified/20180717.063114^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F184155%2F2;p=platform%2Fcore%2Fconnectivity%2Fmobileap-agent.git Remove unnecessary code Change-Id: Ifc2b715db7d894dc71c0f74590dcd937047f8d08 --- diff --git a/src/mobileap_softap.c b/src/mobileap_softap.c index 82d308c..ee57843 100755 --- a/src/mobileap_softap.c +++ b/src/mobileap_softap.c @@ -2143,7 +2143,6 @@ static void __generate_eui64_address(int idx, const char *hw_addr, char **eui64_ int _mh_core_create_ipv6_address(int idx, const char *hw_address, char **ipv6_address) { char *eui64_addr = NULL; - char *network_addr = NULL; char *network_prefix = NULL; char copied[INET6_ADDRSTRLEN] = {0, }; @@ -2153,13 +2152,6 @@ int _mh_core_create_ipv6_address(int idx, const char *hw_address, char **ipv6_ad return MOBILE_AP_ERROR_INTERNAL; } - network_addr = _get_ipv6_network_address(); - if (network_addr == NULL) { - ERR("Failed to get network address!!"); //LCOV_EXCL_LINE - g_free(eui64_addr); - return MOBILE_AP_ERROR_INTERNAL; - } - network_prefix = _get_ipv6_network_prefix(); if (network_prefix == NULL) { ERR("Failed to get network prefix!!");