ecore_con: simplify code by using proper helper.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 23 Nov 2018 00:44:12 +0000 (16:44 -0800)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:52:40 +0000 (14:52 +0900)
commit52021a01c084896f38775e327e105da1e9ea5784
tree8237264d5bc95af5933516a14a8bc3591d10ad75
parent037817389aaa282ba396dafea618ba5f691d8d07
ecore_con: simplify code by using proper helper.

efl_loop_promise_new is a helper function that does automatically figure out an
available scheduler and create a promise from it. Basically replacing the call to
eina_promise_new(efl_loop_future_scheduler_get(o), ...).

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7333
src/lib/ecore_con/efl_net_control_access_point-connman.c
src/lib/ecore_con/efl_net_control_technology-connman.c
src/lib/ecore_con/efl_net_ip_address.c