bitq: remove a static variable
commit9450da873ca2f6bff53bd64e0bebb99d0e340e6e
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 15 Nov 2011 22:56:04 +0000 (15 23:56 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 16 Nov 2011 09:22:48 +0000 (16 09:22 +0000)
treeab985210fd0caf2a87c3c80aab8f3dd107de6c3d
parentd31803d3d9bc4750ff34d14cffb809c916401d1e
bitq: remove a static variable

in_buff is only ever set to field->in_value and that pointer is still
available when the parsing is restarted so it could just as well be used
directly, removing the need for the static variable.

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