xscale: cleanup
commit6be4646d17bef86185ce9d706588585b0271d682
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 7 Nov 2011 06:20:26 +0000 (7 07:20 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 7 Nov 2011 16:13:08 +0000 (7 16:13 +0000)
treeb8db94b84eb9a2f720012c61b2bc9ef5f2bd87e6
parentb01e13604587837e20bd4a3a1e78e650c1ce3b77
xscale: cleanup

- fix error propagation
- add some debug output for "unused" variables
- reduce scope of variable to avoid "unread" variables.

Change-Id: I136995f2a043102e64b8fff3017502fae564013b
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/175
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/xscale.c