From eb305727d0792437f4a2676d69a72eb708b7c393 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 27 Apr 2017 10:53:26 -0500 Subject: [PATCH] ecore_drm2: Remove extra #ifdef It's the same as the previous one, so combine them. --- src/lib/ecore_drm2/ecore_drm2_fb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c index 204fcae..4f541ee 100644 --- a/src/lib/ecore_drm2/ecore_drm2_fb.c +++ b/src/lib/ecore_drm2/ecore_drm2_fb.c @@ -357,9 +357,7 @@ _fb_atomic_flip(Ecore_Drm2_Output *output) uint32_t flags = DRM_MODE_ATOMIC_NONBLOCK | DRM_MODE_PAGE_FLIP_EVENT | DRM_MODE_ATOMIC_ALLOW_MODESET; -#endif -#ifdef HAVE_ATOMIC_DRM if (!output->atomic_req) return -1; res = -- 2.7.4