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
This commit is contained in:
Christopher Michael 2019-02-06 10:00:51 -05:00
parent 347f096bf7
commit 65bf9c6e0f
1 changed files with 0 additions and 3 deletions

View File

@ -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);