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)
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
518 518
519 switch (method) 519 switch (method)
520 { 520 {
521 case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_UNSET: goto error_send;
522 case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_OFF: 521 case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_OFF:
523 _append_dict_entry(array, "Method", "s", "off"); 522 _append_dict_entry(array, "Method", "s", "off");
524 break; 523 break;
@@ -534,6 +533,8 @@ _efl_net_control_access_point_configuration_ipv4_set(Eo *o, Efl_Net_Control_Acce
534 if (gateway) 533 if (gateway)
535 _append_dict_entry(array, "Gateway", "s", gateway); 534 _append_dict_entry(array, "Gateway", "s", gateway);
536 break; 535 break;
536 default:
537 break;
537 } 538 }
538 539
539 eldbus_message_iter_container_close(var, array); 540 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
594 595
595 switch (method) 596 switch (method)
596 { 597 {
597 case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_UNSET: goto error_send;
598 case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_FIXED: goto error_send;
599 case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_TUNNEL6TO4: goto error_send;
600 case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_OFF: 598 case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_OFF:
601 _append_dict_entry(array, "Method", "s", "off"); 599 _append_dict_entry(array, "Method", "s", "off");
602 break; 600 break;
@@ -623,6 +621,8 @@ _efl_net_control_access_point_configuration_ipv6_set(Eo *o, Efl_Net_Control_Acce
623 _append_dict_entry(array, "Method", "s", "auto"); 621 _append_dict_entry(array, "Method", "s", "auto");
624 _append_dict_entry(array, "Privacy", "s", "preferred"); 622 _append_dict_entry(array, "Privacy", "s", "preferred");
625 break; 623 break;
624 default:
625 break;
626 } 626 }
627 627
628 eldbus_message_iter_container_close(var, array); 628 eldbus_message_iter_container_close(var, array);