summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBowon Ryu <bowon.ryu@samsung.com>2018-04-20 18:28:23 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-04-20 18:28:23 +0900
commitf5479c19ff663c363d68753e30aade75ef94c932 (patch)
tree7ab266caa1fe01d30688dd2d71c97ed71f4a3c88
parent90135320d19e0fd1fa188730e925a72e58d72cc6 (diff)
downloadefl-f5479c19ff663c363d68753e30aade75ef94c932.tar.gz
ecore_con: remove unused code
Test Plan: N/A Reviewers: cedric, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5975
-rw-r--r--src/lib/ecore_con/efl_net_control_access_point-connman.c8
1 files 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);