]> git.sur5r.net Git - openocd/commit
Simplify jtag_add_reset:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:58:13 +0000 (10:58 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:58:13 +0000 (10:58 +0000)
commit8c21ca7e81d3408392e6691fc34cb793eb964749
treeabb4126c0e3887441fb1896805186986f8836d77
parent6f4de887f76a82fff9a9f080c497a047bfb15e4e
Simplify jtag_add_reset:
- Use jtag_set_error instead of accessing jtag_error directly.
- Remove superfluous retval temporary variable.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2126 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/jtag.c