drivers/pinctrl: remove redundant ret variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 10 Jan 2022 01:27:30 +0000 (01:27 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Jan 2022 00:12:54 +0000 (01:12 +0100)
commit02f23aa47ae763f0a1ea87192a8d7f7f00facd01
treeedf3038d8c5ea2b43b8e2c8c488c4c87308b8bae
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
drivers/pinctrl: remove redundant ret variable

Return value from pxa2xx_pinctrl_init() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Link: https://lore.kernel.org/r/20220110012730.643927-1-chi.minghao@zte.com.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pxa/pinctrl-pxa27x.c