forked from enlightenment/efl
ecore_drm2: Remove pointless goto
This "out" label probably used to be the target of multiple gotos, but now it's just being used to jump over a single line of code.
This commit is contained in:
parent
c264ef264f
commit
0d845ce3aa
|
@ -161,11 +161,9 @@ cont:
|
||||||
if (found) break;
|
if (found) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!chosen_dev) goto out;
|
if (chosen_dev)
|
||||||
|
ret = eeze_udev_syspath_get_devpath(chosen_dev);
|
||||||
|
|
||||||
ret = eeze_udev_syspath_get_devpath(chosen_dev);
|
|
||||||
|
|
||||||
out:
|
|
||||||
EINA_LIST_FREE(devs, dev)
|
EINA_LIST_FREE(devs, dev)
|
||||||
eina_stringshare_del(dev);
|
eina_stringshare_del(dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue