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:
parent
347f096bf7
commit
65bf9c6e0f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue