]> git.sur5r.net Git - u-boot/commitdiff
cmd: blk: remove unreachable code
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 19 Nov 2017 22:25:32 +0000 (23:25 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
Remove an unreachable return statement.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/blk_common.c

index 0c0c23eb3701e846a0614c30ddd761581085e831..bf2f626dd652d5a5238b067f2d9fe13fa00a7cdd 100644 (file)
@@ -95,8 +95,6 @@ int blk_common_cmd(int argc, char * const argv[], enum if_type if_type,
                } else {
                        return CMD_RET_USAGE;
                }
-
-               return 0;
        }
 }
 #endif