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

2018-02-13 Thread Philipp Tomsich
> 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 > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > drivers/gpio/rk_gpio.c | 4 > 1 file changed,

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

2018-02-13 Thread Philipp Tomsich
> 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 > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > drivers/gpio/rk_gpio.c | 4 > 1 file changed,

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

2018-02-02 Thread Philipp Tomsich
> 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 > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > drivers/gpio/rk_gpio.c | 4 > 1 file changed,