[PATCH] pinctrl: remove unnecessary error check

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 2 01:18:10 PST 2015


On Sun, Feb 01, 2015 at 11:58:26AM +0900, Masahiro Yamada wrote:
> The file drivers/pinctrl/pinctrl.c is compiled only when
> CONFIG_PINCTRL is defined.  "IS_ENABLED(CONFIG_PINCTRL)" is
> always evaluated as 1 in this function.
> (Although the compiler would optimize it, the source file does
> not look nice.)
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

> ---
> 
>  drivers/pinctrl/pinctrl.c | 3 ---
>  1 file changed, 3 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list