Re: [PATCH v4 2/2] ALSA: core: Remove redundant variable and return the last statement

From: Takashi Iwai
Date: Mon Feb 28 2022 - 11:03:03 EST


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@xxxxxxxxxxxxx>
> > Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
>
> 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