drm/i915: Remove return; at the end of a function returning void
Subsystems (2)
PATCH 1/1 drm/i915: Remove return; at the end of a function returning void
intel_dsi_init() lost its return value in:
Damien Lespiau <[email protected]>
Date: Wed May 28 12:30:56 2014 +0100
drm/i915: Make intel_dsi_init() return void
However, I left a return; at the end of the function and, as Jani noticed, it looks silly.
--- drivers/gpu/drm/i915/intel_dsi.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/intel_dsi.c +0 -2
@@ -759,6 +759,4 @@ err:drm_encoder_cleanup (&intel_encoder->base);kfree (intel_dsi);kfree (intel_connector); - -return ; }
Signature · 1 line
1.8.3.1
Jani Nikula
maintainerQuoted 9 lines · Damien Lespiau
intel_dsi_init()lost its return value in:Damien Lespiau <[email protected]>
Date: Wed May 28 12:30:56 2014 +0100drm/i915: Make
intel_dsi_init()return voidHowever, I left a return; at the end of the function and, as Jani noticed, it looks silly.
Thanks. R-b and all that if Daniel needs it.
Quoted 20 lines
Suggested-by Jani Nikula <[email protected]>Signed-off-by Damien Lespiau <[email protected]>--- drivers/gpu/drm/i915/intel_dsi.c | 2 -- 1 file changed, 2 deletions(-)drivers/gpu/drm/i915/intel_dsi.c +0
-2@@ -759,6 +759,4 @@ err:drm_encoder_cleanup (&intel_encoder->base);kfree (intel_dsi);kfree (intel_connector); - -return ; }Signature · 1 line
1.8.3.1
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
Quoted 6 lines · Jani Nikula
Quoted 5 lines · Damien Lespiau
intel_dsi_init()lost its return value in:Damien Lespiau <[email protected]>
Date: Wed May 28 12:30:56 2014 +0100
Quoted 6 lines
Quoted 4 lines
drm/i915: Make
intel_dsi_init()return voidHowever, I left a return; at the end of the function and, as Jani noticed, it looks silly.
Thanks. R-b and all that if Daniel needs it.
If it's not too late to rewrite history, please consider squashing it with:
drm/i915: Make intel_dsi_init() return void
Signature · 1 line
Damien
Quoted 9 lines · Damien Lespiau
Quoted 8 lines · Jani Nikula
Quoted 7 lines · Damien Lespiau
intel_dsi_init()lost its return value in:Damien Lespiau <[email protected]>
Date: Wed May 28 12:30:56 2014 +0100drm/i915: Make
intel_dsi_init()return void
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
However, I left a return; at the end of the function and, as Jani noticed, it looks silly.
Thanks. R-b and all that if Daniel needs it.
If it's not too late to rewrite history, please consider squashing it with:
drm/i915: Makeintel_dsi_init()return void
History is rectified.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch