|
From: kc8apf at B. <kc...@ma...> - 2009-05-21 06:43:59
|
Author: kc8apf
Date: 2009-05-21 06:43:48 +0200 (Thu, 21 May 2009)
New Revision: 1863
Modified:
trunk/src/jtag/jtag.c
Log:
Author: Michael Bruck <mb...@di...>
- jtag.c: remove unused variable 'nth_tap' from DR scan functions
Modified: trunk/src/jtag/jtag.c
===================================================================
--- trunk/src/jtag/jtag.c 2009-05-21 04:43:01 UTC (rev 1862)
+++ trunk/src/jtag/jtag.c 2009-05-21 04:43:48 UTC (rev 1863)
@@ -818,7 +818,6 @@
int MINIDRIVER(interface_jtag_add_dr_scan)(int in_num_fields, const scan_field_t *in_fields, tap_state_t state)
{
int j;
- int nth_tap;
int field_count = 0;
/* count devices in bypass */
@@ -845,12 +844,8 @@
scan->fields = out_fields;
scan->end_state = state;
- nth_tap = -1;
-
for (jtag_tap_t * tap = jtag_NextEnabledTap(NULL); tap != NULL; tap = jtag_NextEnabledTap(tap))
{
- nth_tap++;
-
int found = 0;
scan->fields[field_count].tap = tap;
@@ -922,7 +917,6 @@
const u32 *value,
tap_state_t end_state)
{
- int nth_tap;
int field_count = 0;
/* count devices in bypass */
@@ -950,11 +944,8 @@
scan->fields = out_fields;
scan->end_state = end_state;
- nth_tap = -1;
-
for (jtag_tap_t * tap = jtag_NextEnabledTap(NULL); tap != NULL; tap = jtag_NextEnabledTap(tap))
{
- nth_tap++;
scan->fields[field_count].tap = tap;
if (tap == target_tap)
|