ecore_con: simplify code by using helper that create future directly.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 23 Nov 2018 01:16:09 +0000 (17:16 -0800)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:52:40 +0000 (14:52 +0900)
commite741cdd0e0a3bfa1314c3073153d6da3564e0a1d
tree3c72f9c578325143923773f4bbb18780793d4dd2
parentaf622071566848f00ce725e49b55acc616b6c1c7
ecore_con: simplify code by using helper that create future directly.

The new helper help replace call to eina_future_resolved and eina_future_rejected with
a scheduler lookup to just one function call.

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