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:
Derek Foreman 2018-01-05 12:28:36 -06:00
parent c264ef264f
commit 0d845ce3aa
1 changed files with 2 additions and 4 deletions

View File

@ -161,11 +161,9 @@ cont:
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_stringshare_del(dev);