forked from enlightenment/enlightenment
Remove unwanted NULL check in internal function
Summary: Remove unwanted NULL check in internal function. Reviewers: gwanglim, devilhorns, zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1250
This commit is contained in:
parent
89b2881476
commit
6b808e2f3f
|
@ -7,9 +7,6 @@ _e_comp_wl_data_find_for_client(Eina_List *list, struct wl_client *client)
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
struct wl_resource *res;
|
struct wl_resource *res;
|
||||||
|
|
||||||
if ((!list) || (!client))
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
EINA_LIST_FOREACH(list, l, res)
|
EINA_LIST_FOREACH(list, l, res)
|
||||||
{
|
{
|
||||||
if (wl_resource_get_client(res) == client)
|
if (wl_resource_get_client(res) == client)
|
||||||
|
|
Loading…
Reference in New Issue