rlink: more indentation fixes

Remove unnecessary block scopes to reduce indentation level.

Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
Andreas Fritiofson 2011-07-16 14:09:08 +02:00 committed by Øyvind Harboe
parent 068c9f266e
commit 6f1641a5cc
1 changed files with 117 additions and 120 deletions

View File

@ -702,7 +702,8 @@ dtc_queue_run(void) {
if (usb_err < 0) { if (usb_err < 0) {
LOG_ERROR("dtc_run_download: %s", usb_strerror()); LOG_ERROR("dtc_run_download: %s", usb_strerror());
exit(1); exit(1);
} else { }
/* process the reply, which empties the reply queue and frees its entries */ /* process the reply, which empties the reply queue and frees its entries */
dtc_p = reply_buffer; dtc_p = reply_buffer;
@ -798,8 +799,6 @@ dtc_queue_run(void) {
dtc_queue.rq_tail = NULL; dtc_queue.rq_tail = NULL;
} }
}
/* reset state for new appends */ /* reset state for new appends */
dtc_queue.cmd_index = 0; dtc_queue.cmd_index = 0;
@ -1333,7 +1332,6 @@ rlink_scan(
} }
/* Schedule the last bit into the DTC command buffer */ /* Schedule the last bit into the DTC command buffer */
{
/* make sure there's room for stop, and bit pair command */ /* make sure there's room for stop, and bit pair command */
if ( if (
(dtc_queue.cmd_index >= sizeof(dtc_queue.cmd_buffer) - (1 + 1)) (dtc_queue.cmd_index >= sizeof(dtc_queue.cmd_buffer) - (1 + 1))
@ -1362,7 +1360,6 @@ rlink_scan(
dtc_queue.reply_index++; dtc_queue.reply_index++;
} }
}
/* Move to pause state */ /* Move to pause state */
tap_state_queue_append(0); tap_state_queue_append(0);