From: Derek Foreman Date: Thu, 27 Apr 2017 15:53:26 +0000 (-0500) Subject: ecore_drm2: Remove extra #ifdef X-Git-Tag: upstream/1.20.0~1223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb305727d0792437f4a2676d69a72eb708b7c393;p=platform%2Fupstream%2Fefl.git ecore_drm2: Remove extra #ifdef It's the same as the previous one, so combine them. --- 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 =