Re: [PATCH v2] staging: media: atomisp: code cleanup
From: Pavel Skripkin
Date: Sat May 08 2021 - 07:37:39 EST
Hi, Greg!
On Sat, 8 May 2021 12:58:06 +0200
Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, May 08, 2021 at 01:51:29PM +0300, Pavel Skripkin wrote:
> > Breaks are not useful after a return, they can
> > simply be removed.
> >
> > Also, dropped the individual return statements
> > after or inside switch cases
>
> Almost always, when you say "also" in a patch changelog, that means
> this should be split up into two different patches.
>
I thought, I could add this to current patch, because It was suggested
by maintainer, but, I guess, I was wrong :)
> I recommend doing that here as well, this should be a 2 patch series,
> right?
>
Thanks for suggestion! I will also remove returns at the end of void
functions as 3rd patch in serie.
> thanks,
>
> greg k-h
With regards,
Pavel Skripkin