diff options
author | Ben Elliston <bje@gnu.org> | 2003-08-07 03:58:36 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2003-08-07 03:58:36 +0000 |
commit | 360dd4f6262ca54ea33bf745ff5559a913748a46 (patch) | |
tree | c02ce8fa5d6c1fa19a2d089b4465d195ee058133 /config/i960.exp | |
parent | d7b7156075df25716082174f6baf2ac0e163e939 (diff) |
* Remove surplus semicolons in `for' commands.trailing-semicolons-after
Diffstat (limited to 'config/i960.exp')
-rw-r--r-- | config/i960.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/i960.exp b/config/i960.exp index 1c722d6..c44c0f5 100644 --- a/config/i960.exp +++ b/config/i960.exp @@ -34,7 +34,7 @@ proc ${board}_init { dest } { remote_close $dest if { [remote_open $dest] != "" } { - for { set tries 0; } { $tries < 7 && ! $done } { incr tries } { + for { set tries 0 } { $tries < 7 && ! $done } { incr tries } { remote_send $dest "\n" remote_expect $dest 1 { -re "${prompt}" { @@ -129,7 +129,7 @@ proc i960_ld { dest prog } { proc i960_spawn { dest prog args } { set shell_prompt [board_info $dest shell_prompt] - for { set tries 0 ; } { $tries < 3 } { incr tries } { + for { set tries 0 } { $tries < 3 } { incr tries } { set result [remote_ld $dest $prog] if { $result == 0 } { set comm "go [board_info $dest start_addr]" @@ -185,7 +185,7 @@ proc i960_wait { dest timeout } { } proc i960_load { dest prog args } { - for { set x 0; } { $x < 3 } { incr x; } { + for { set x 0 } { $x < 3 } { incr x } { set id [eval remote_spawn \{$dest\} \{$prog\} $args] if { $id < 0 } { return [list "fail" ""] |