[U-Boot] [U-Boot,1/1] rockchip: gpio: remove dead code

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Feb 13 15:43:53 UTC 2018


> In the following statements
> if (a) return a; if (a) return c;
> the second return can never be executed.
> 
> Identified by cppcheck.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>  drivers/gpio/rk_gpio.c | 4 ----
>  1 file changed, 4 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list