[PATCH v4 2/2] ALSA: core: Remove redundant variable and return the last statement
Joe Perches
joe at perches.com
Mon Feb 28 17:39:21 CET 2022
On Mon, 2022-02-28 at 17:02 +0100, Takashi Iwai wrote:
> On Mon, 28 Feb 2022 06:20:45 +0100, Joe Perches wrote:
> > On Mon, 2022-02-28 at 13:02 +0800, Meng Tang wrote:
> > > Return the result from file->f_op->open() directly instead of
> > > taking this in another redundant variable. Make the typical
> > > return the last statement, return early and reduce the indentation
> > > too.
> > >
> > > Signed-off-by: Meng Tang <tangmeng at uniontech.com>
> > > Signed-off-by: Joe Perches <joe at perches.com>
> >
> > Hi Meng Tang.
> >
> > For the next time: it's not necessary (or even good) to add a sign-off
> > for another person unless they specifically authorize one.
> >
> > You wrote and are submitting these changes, I merely gave you simple
> > suggestions as to how you could improve them.
>
> Joe, would you like to drop your S-o-b lines from those two patches?
> Or shall I keep them?
>
> thanks,
>
> Takashi
Hi Takashi.
Nominally, the sign-off-by chain shows who pushed these changes upstream
and I did not and I am not an upstream aggregator.
But whatever you choose is OK.
It's not really a concern to me.
I do think these changes are ok.
cheers, Joe
More information about the Alsa-devel
mailing list