aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_dcr.c
diff options
context:
space:
mode:
authorWolfgang Denk2006-10-26 16:24:31 +0200
committerWolfgang Denk2006-10-26 16:24:31 +0200
commit2b2a40bebbf1822506e80e631d7253e60f0e0fe6 (patch)
treecb331a26115df79afa0baab69faff3ff066c8f75 /common/cmd_dcr.c
parentb9e9adce0bbbfdb47a816f25cc1f1d3a1b2cd14b (diff)
Code cleanup.
Diffstat (limited to 'common/cmd_dcr.c')
-rw-r--r--common/cmd_dcr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_dcr.c b/common/cmd_dcr.c
index 5fe2ede52fb..7221a865ed4 100644
--- a/common/cmd_dcr.c
+++ b/common/cmd_dcr.c
@@ -181,7 +181,7 @@ int do_setidcr (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
if (argc < 4) {
printf ("Usage:\n%s\n", cmdtp->usage);
return 1;
- }
+ }
/* Find out whether ther is '.' (dot) symbol in the first parameter. */
strncpy (buf, argv[1], sizeof(buf)-1);
@@ -198,9 +198,9 @@ int do_setidcr (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
* First parameter has format adr_dcrn; dat_dcrn will be
* calculated as adr_dcrn+1.
*/
- adr_dcrn = (unsigned short) simple_strtoul (buf, NULL, 16);
- dat_dcrn = adr_dcrn+1;
- }
+ adr_dcrn = (unsigned short) simple_strtoul (buf, NULL, 16);
+ dat_dcrn = adr_dcrn+1;
+ }
/* Register's offset */
offset = (unsigned short) simple_strtoul (argv[2], NULL, 16);