summaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-06 06:20:52 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-06 06:20:52 +0000
commit4d88c124b1262a738b4a9f107ef62404a45bf323 (patch)
tree4c263a9278e2aeb8467253d0f71c44a0a829f102 /src/pld
parentb6f268c113521557889aa253e2dd7218507e20d9 (diff)
downloadopenocd_libswd-4d88c124b1262a738b4a9f107ef62404a45bf323.tar.gz
openocd_libswd-4d88c124b1262a738b4a9f107ef62404a45bf323.tar.bz2
openocd_libswd-4d88c124b1262a738b4a9f107ef62404a45bf323.tar.xz
openocd_libswd-4d88c124b1262a738b4a9f107ef62404a45bf323.zip
retire out_mask - not used anywhere
git-svn-id: svn://svn.berlios.de/openocd/trunk@1608 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/virtex2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index 26f0f1fe..cec4fe9d 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -56,7 +56,7 @@ int virtex2_set_instr(jtag_tap_t *tap, u32 new_instr)
field.num_bits = tap->ir_length;
field.out_value = calloc(CEIL(field.num_bits, 8), 1);
buf_set_u32(field.out_value, 0, field.num_bits, new_instr);
- field.out_mask = NULL;
+
field.in_value = NULL;
field.in_check_value = NULL;
field.in_check_mask = NULL;
@@ -83,7 +83,6 @@ int virtex2_send_32(struct pld_device_s *pld_device, int num_words, u32 *words)
scan_field.tap = virtex2_info->tap;
scan_field.num_bits = num_words * 32;
scan_field.out_value = values;
- scan_field.out_mask = NULL;
scan_field.in_value = NULL;
scan_field.in_check_value = NULL;
scan_field.in_check_mask = NULL;
@@ -117,7 +116,6 @@ int virtex2_receive_32(struct pld_device_s *pld_device, int num_words, u32 *word
scan_field.tap = virtex2_info->tap;
scan_field.num_bits = 32;
scan_field.out_value = NULL;
- scan_field.out_mask = NULL;
scan_field.in_value = NULL;
scan_field.in_check_value = NULL;
scan_field.in_check_mask = NULL;
@@ -166,7 +164,7 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename)
scan_field_t field;
field.tap = virtex2_info->tap;
- field.out_mask = NULL;
+
field.in_value = NULL;
field.in_check_value = NULL;
field.in_check_mask = NULL;