bitq: remove the remaining static variables
commitaef1fe6024ba5f16557b92436ffb970dabe5c18c
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 15 Nov 2011 23:10:44 +0000 (16 00:10 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 16 Nov 2011 23:46:35 +0000 (16 23:46 +0000)
tree77da83b9eab3eb43f4abc723956e67fefa46b7ac
parent287ba1888b3dc95d805d054c5c9f2d1dd231a1b2
bitq: remove the remaining static variables

in_mask and in_idx are just another encoding of the same state information
that is already kept in bitq_in_state.bit_pos so derive them from that
instead of maintaining them separately.

Change-Id: I4ac6bbe923698a8c1090a785b8babcbb90f82931
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/207
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/bitq.c