From ac2c82b87116a11aaac2e200cdfb60b716059171 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 30 May 2017 10:59:25 -0400 Subject: [PATCH] ecore-drm2: Remove useless return 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 --- src/lib/ecore_drm2/ecore_drm2_fb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c index f2c54e3..59e2c5a 100644 --- a/src/lib/ecore_drm2/ecore_drm2_fb.c +++ b/src/lib/ecore_drm2/ecore_drm2_fb.c @@ -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; -- 2.7.4