summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-11-19 23:25:32 +0100
committerTom Rini <trini@konsulko.com>2017-11-29 22:30:50 -0500
commit254eedee7f383066b70ac4da01bc792a3256a4b3 (patch)
treeea53f317bc09ad1758616f152ef2dfc9f89ec58d
parent2614a208471e0e82b1fd197fcd3f1ca7ecda969b (diff)
downloadu-boot-254eedee7f383066b70ac4da01bc792a3256a4b3.tar.gz
u-boot-254eedee7f383066b70ac4da01bc792a3256a4b3.tar.xz
u-boot-254eedee7f383066b70ac4da01bc792a3256a4b3.zip
cmd: blk: remove unreachable code
Remove an unreachable return statement. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--cmd/blk_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/blk_common.c b/cmd/blk_common.c
index 0c0c23eb37..bf2f626dd6 100644
--- a/cmd/blk_common.c
+++ b/cmd/blk_common.c
@@ -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