projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "i.MX28: Enable additional DRAM address bits"
[oweals/u-boot.git]
/
common
/
cmd_setexpr.c
diff --git
a/common/cmd_setexpr.c
b/common/cmd_setexpr.c
index b3e489fbe3c21359d1b662ed846af5c4f89691ed..1b3edb7b02e4f9aa38b8334833f2be0e32fe2d63 100644
(file)
--- a/
common/cmd_setexpr.c
+++ b/
common/cmd_setexpr.c
@@
-57,10
+57,8
@@
int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
int w;
/* Validate arguments */
- if ((argc != 5) || (strlen(argv[3]) != 1)) {
- cmd_usage(cmdtp);
- return 1;
- }
+ if ((argc != 5) || (strlen(argv[3]) != 1))
+ return CMD_RET_USAGE;
w = cmd_get_data_size(argv[0], 4);