diff options
author | Chris Michael <cp.michael@samsung.com> | 2017-05-30 10:59:25 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2017-05-30 10:59:25 -0400 |
commit | ac2c82b87116a11aaac2e200cdfb60b716059171 (patch) | |
tree | 2c14e0caca32fb1c4081fceac3d9f1c70eea8f72 /src/lib/ecore_drm2/ecore_drm2_fb.c | |
parent | e7b302d89fd4e145b997efb9dc6b4430b7c91a02 (diff) |
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 <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_fb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c index f2c54e3057..59e2c5a214 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) | |||
524 | { | 524 | { |
525 | output->next.fb = fb; | 525 | output->next.fb = fb; |
526 | _ecore_drm2_fb_ref(output->next.fb); | 526 | _ecore_drm2_fb_ref(output->next.fb); |
527 | return 0; | ||
528 | } | 527 | } |
529 | 528 | ||
530 | return 0; | 529 | return 0; |