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

Dr. Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Jan 30 23:48:19 UTC 2018


> On 31 Jan 2018, at 00:45, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> 
> 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>



More information about the U-Boot mailing list