Skip to contentSkip to conversation

cmd: blk: remove unreachable code

PATCH New Heinrich Schuchardt 3 participants 3 messages Nov 19, 2017 – Nov 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd: blk: remove unreachable code

Remove an unreachable return statement.

---
 cmd/blk_common.c | 2 --
 1 file changed, 2 deletions(-)
cmd/blk_common.c +0 -2
index 0c0c23eb37..bf2f626dd6 100644
@@ -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
Signature · 1 line
2.15.0
#2 lore raw

PATCH 1/1 cmd: blk: remove unreachable code

In reply to Heinrich Schuchardt
Quoted 4 lines · Heinrich Schuchardt

Remove an unreachable return statement.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171130/678a16b1/attachment.sig>