summaryrefslogtreecommitdiff
path: root/src/lib
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 /src/lib
parent347f096bf7ff316196213b722703bfb4bbcb1366 (diff)
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
Diffstat (limited to '')
-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)
891 { 891 {
892 if (output->prep.atomic_req) 892 if (output->prep.atomic_req)
893 sym_drmModeAtomicFree(output->prep.atomic_req); 893 sym_drmModeAtomicFree(output->prep.atomic_req);
894 }
895 894
896 if (_ecore_drm2_use_atomic)
897 {
898 EINA_LIST_FREE(output->plane_states, pstate) 895 EINA_LIST_FREE(output->plane_states, pstate)
899 free(pstate); 896 free(pstate);
900 897