ecore-drm2: Remove useless return
authorChris Michael <cp.michael@samsung.com>
Tue, 30 May 2017 14:59:25 +0000 (10:59 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 30 May 2017 14:59:25 +0000 (10:59 -0400)
This 'return' statement here is just useless as the code can fall
through and the function will return 0 anwyay.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm2/ecore_drm2_fb.c

index f2c54e3..59e2c5a 100644 (file)
@@ -524,7 +524,6 @@ _fb_flip(Ecore_Drm2_Output *output)
      {
         output->next.fb = fb;
         _ecore_drm2_fb_ref(output->next.fb);
-        return 0;
      }
 
    return 0;