Re: [PATCH] drivers/pinctrl: remove redundant ret variable

From: Linus Walleij
Date: Sat Jan 15 2022 - 19:40:26 EST


On Mon, Jan 10, 2022 at 2:27 AM <cgel.zte@xxxxxxxxx> wrote:

> From: Minghao Chi <chi.minghao@xxxxxxxxxx>
>
> Return value from pxa2xx_pinctrl_init() directly instead
> of taking this in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>
> Signed-off-by: CGEL ZTE <cgel.zte@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij