projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2277c3
)
ecore_drm2: Remove pointless goto
author
Derek Foreman
<derekf@osg.samsung.com>
Fri, 5 Jan 2018 18:28:36 +0000
(12:28 -0600)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000
(20:08 +0900)
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.
src/lib/ecore_drm2/ecore_drm2_device.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm2/ecore_drm2_device.c
b/src/lib/ecore_drm2/ecore_drm2_device.c
index
67cfebb
..
da35231
100644
(file)
--- a/
src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/
src/lib/ecore_drm2/ecore_drm2_device.c
@@
-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);