[Intel-gfx] [PATCH] drm/i915: Remove return; at the end of a function returning void

Daniel Vetter daniel at ffwll.ch
Tue Jun 3 16:36:11 CEST 2014


On Tue, Jun 03, 2014 at 02:37:27PM +0100, Damien Lespiau wrote:
> On Tue, Jun 03, 2014 at 04:35:01PM +0300, Jani Nikula wrote:
> > On Tue, 03 Jun 2014, Damien Lespiau <damien.lespiau at intel.com> wrote:
> > > intel_dsi_init() lost its return value in:
> > >
> > >   Damien Lespiau <damien.lespiau at intel.com>
> > >   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.
> > 
> > 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

History is rectified.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list