summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-01-05 12:28:36 -0600
committerDerek Foreman <derekf@osg.samsung.com>2018-01-05 12:28:36 -0600
commit0d845ce3aa88738e5313d81745f882e011333204 (patch)
tree3e15277a87b7710ea63198f8474fd869e66c4554 /src/lib/ecore_drm2
parentc264ef264f0936632a1603fef45c59a50369631d (diff)
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.
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 67cfebbd8c..da35231ba2 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -161,11 +161,9 @@ cont:
161 if (found) break; 161 if (found) break;
162 } 162 }
163 163
164 if (!chosen_dev) goto out; 164 if (chosen_dev)
165 ret = eeze_udev_syspath_get_devpath(chosen_dev);
165 166
166 ret = eeze_udev_syspath_get_devpath(chosen_dev);
167
168out:
169 EINA_LIST_FREE(devs, dev) 167 EINA_LIST_FREE(devs, dev)
170 eina_stringshare_del(dev); 168 eina_stringshare_del(dev);
171 169