summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_device.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 42a21c0742..7ec429523b 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -682,17 +682,9 @@ EAPI void
682ecore_drm2_device_close(Ecore_Drm2_Device *device) 682ecore_drm2_device_close(Ecore_Drm2_Device *device)
683{ 683{
684 EINA_SAFETY_ON_NULL_RETURN(device); 684 EINA_SAFETY_ON_NULL_RETURN(device);
685 EINA_SAFETY_ON_TRUE_RETURN(device->fd < 0);
686 685
687 elput_input_shutdown(device->em); 686 elput_input_shutdown(device->em);
688 elput_manager_close(device->em, device->fd); 687 elput_manager_close(device->em, device->fd);
689}
690
691EAPI void
692ecore_drm2_device_free(Ecore_Drm2_Device *device)
693{
694 EINA_SAFETY_ON_NULL_RETURN(device);
695
696 if (_ecore_drm2_use_atomic) 688 if (_ecore_drm2_use_atomic)
697 _drm2_atomic_state_free(device->state); 689 _drm2_atomic_state_free(device->state);
698 690