aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-02-06 10:00:51 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-02-06 10:00:51 -0500
commit65bf9c6e0f9e89910e2a685eeabc96b2d0a98cc3 (patch)
tree1e8195964fc3614ecbb81034b0fd7c9cc4ad723c
parenteolian_gen: add support for header-only depfiles (diff)
downloadefl-65bf9c6e0f9e89910e2a685eeabc96b2d0a98cc3.tar.gz
ecore-drm2: Remove useless if check
_ecore_drm2_use_atomic is already checked just above this, so there is no need for this if statement
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 293a78eec2..92551d0d72 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -891,10 +891,7 @@ _output_destroy(Ecore_Drm2_Device *dev EINA_UNUSED, Ecore_Drm2_Output *output)
{
if (output->prep.atomic_req)
sym_drmModeAtomicFree(output->prep.atomic_req);
- }
- if (_ecore_drm2_use_atomic)
- {
EINA_LIST_FREE(output->plane_states, pstate)
free(pstate);