[Nouveau] [PATCH] drm: remove unneeded break

Sam Ravnborg sam at ravnborg.org
Mon Oct 19 17:06:41 UTC 2020


Hi Tom
On Mon, Oct 19, 2020 at 09:31:15AM -0700, trix at redhat.com wrote:
> From: Tom Rix <trix at redhat.com>
> 
> A break is not needed if it is preceded by a return or break
> 
> Signed-off-by: Tom Rix <trix at redhat.com>

Looks good and builds with no warnings.

One of the diffs made me - "oh this looks wrong". But after I looked again
it was right and the resulting code is more readable - so good.

Acked-by: Sam Ravnborg <sam at ravnborg.org>

Was tempted to just apply to drm-misc-next but will give others the
opportunity to chime in.

	Sam


More information about the Nouveau mailing list