[U-Boot] [PATCH 1/1] cmd: blk: remove unreachable code

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Nov 19 22:25:32 UTC 2017


Remove an unreachable return statement.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 cmd/blk_common.c | 2 --
 1 file changed, 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
-- 
2.15.0



More information about the U-Boot mailing list