[PATCH] drivers/pinctrl: remove redundant ret variable

Linus Walleij linus.walleij at linaro.org
Sat Jan 15 16:40:06 PST 2022


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

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

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list