ecore_drm2: Remove extra #ifdef
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 27 Apr 2017 15:53:26 +0000 (10:53 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 5 May 2017 17:53:21 +0000 (12:53 -0500)
It's the same as the previous one, so combine them.

src/lib/ecore_drm2/ecore_drm2_fb.c

index 204fcae..4f541ee 100644 (file)
@@ -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 =