forked from enlightenment/efl
ecore_con: remove unused code
Test Plan: N/A Reviewers: cedric, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5975
This commit is contained in:
parent
90135320d1
commit
f5479c19ff
|
@ -518,7 +518,6 @@ _efl_net_control_access_point_configuration_ipv4_set(Eo *o, Efl_Net_Control_Acce
|
||||||
|
|
||||||
switch (method)
|
switch (method)
|
||||||
{
|
{
|
||||||
case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_UNSET: goto error_send;
|
|
||||||
case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_OFF:
|
case EFL_NET_CONTROL_ACCESS_POINT_IPV4_METHOD_OFF:
|
||||||
_append_dict_entry(array, "Method", "s", "off");
|
_append_dict_entry(array, "Method", "s", "off");
|
||||||
break;
|
break;
|
||||||
|
@ -534,6 +533,8 @@ _efl_net_control_access_point_configuration_ipv4_set(Eo *o, Efl_Net_Control_Acce
|
||||||
if (gateway)
|
if (gateway)
|
||||||
_append_dict_entry(array, "Gateway", "s", gateway);
|
_append_dict_entry(array, "Gateway", "s", gateway);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
eldbus_message_iter_container_close(var, array);
|
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)
|
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:
|
case EFL_NET_CONTROL_ACCESS_POINT_IPV6_METHOD_OFF:
|
||||||
_append_dict_entry(array, "Method", "s", "off");
|
_append_dict_entry(array, "Method", "s", "off");
|
||||||
break;
|
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, "Method", "s", "auto");
|
||||||
_append_dict_entry(array, "Privacy", "s", "preferred");
|
_append_dict_entry(array, "Privacy", "s", "preferred");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
eldbus_message_iter_container_close(var, array);
|
eldbus_message_iter_container_close(var, array);
|
||||||
|
|
Loading…
Reference in New Issue