From f5479c19ff663c363d68753e30aade75ef94c932 Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Fri, 20 Apr 2018 18:28:23 +0900 Subject: [PATCH] ecore_con: remove unused code Test Plan: N/A Reviewers: cedric, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5975 --- src/lib/ecore_con/efl_net_control_access_point-connman.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/ecore_con/efl_net_control_access_point-connman.c b/src/lib/ecore_con/efl_net_control_access_point-connman.c index 886158ad54..30e6f2a3a9 100644 --- a/src/lib/ecore_con/efl_net_control_access_point-connman.c +++ b/src/lib/ecore_con/efl_net_control_access_point-connman.c @@ -518,7 +518,6 @@ _efl_net_control_access_point_configuration_ipv4_set(Eo *o, Efl_Net_Control_Acce switch (method) { - case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_UNSET: goto error_send; case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_OFF: _append_dict_entry(array, "Method", "s", "off"); break; @@ -534,6 +533,8 @@ _efl_net_control_access_point_configuration_ipv4_set(Eo *o, Efl_Net_Control_Acce if (gateway) _append_dict_entry(array, "Gateway", "s", gateway); break; + default: + break; } eldbus_message_iter_container_close(var, array); @@ -594,9 +595,6 @@ _efl_net_control_access_point_configuration_ipv6_set(Eo *o, Efl_Net_Control_Acce switch (method) { - case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_UNSET: goto error_send; - case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_FIXED: goto error_send; - case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_TUNNEL6TO4: goto error_send; case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_OFF: _append_dict_entry(array, "Method", "s", "off"); break; @@ -623,6 +621,8 @@ _efl_net_control_access_point_configuration_ipv6_set(Eo *o, Efl_Net_Control_Acce _append_dict_entry(array, "Method", "s", "auto"); _append_dict_entry(array, "Privacy", "s", "preferred"); break; + default: + break; } eldbus_message_iter_container_close(var, array);