Cleanup and simplify handle_interface_command:
commit7bcd2e6854289f9a891c52974536ade95eb0f4e0
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 13:12:12 +0000 (8 13:12 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 13:12:12 +0000 (8 13:12 +0000)
treed9062094a00aa1350bc97c457fd516f8ea5bd896
parent8290a05c2b3284e3820fc95a10c1cc189f1c186f
Cleanup and simplify handle_interface_command:
- Reduce indent: invert logic of strcmp test.
- Reduce scope: declare variables upon first use in loops.
- Reduce unsaid: compare end of table with NULL.
- Remove superfluous braces around blocks with one statment.
- Improve language that introduces the list of built-in drivers.

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