From 00c4dbfb11e389176bdb2d45a262eb47229cd80b Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Thu, 5 Jul 2012 19:23:28 +1200 Subject: ADIv5 AP and DP are now allocated on the heap and reference counted. They are unref'd and free'd automatically when the target list is destroyed. --- src/jtag_scan.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/jtag_scan.c') diff --git a/src/jtag_scan.c b/src/jtag_scan.c index 0084e2e..6f733de 100644 --- a/src/jtag_scan.c +++ b/src/jtag_scan.c @@ -107,9 +107,6 @@ int jtag_scan(const uint8_t *irlens) jtag_dev_count = 0; memset(&jtag_devs, 0, sizeof(jtag_devs)); -#warning "These should be elsewhere!" - adiv5_free_all(); - /* Run throught the SWD to JTAG sequence for the case where an attached SWJ-DP is * in SW-DP mode. */ -- cgit v1.2.3