versaloon: remove bogus assignment 88/1488/2
authorPaul Fertser <fercerpav@gmail.com>
Mon, 8 Jul 2013 06:07:54 +0000 (10:07 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 15 Jul 2013 09:54:10 +0000 (09:54 +0000)
This fixes the build with Clang 3.3.

Change-Id: I729b4791c16178cdd4a87f7e1c04019da2c84b26
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1488
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/versaloon/usbtoxxx/usbtoswd.c

index 196b507..b8d27af 100644 (file)
@@ -34,8 +34,6 @@ RESULT usbtoswd_callback(void *p, uint8_t *src, uint8_t *processed)
 {
        struct versaloon_pending_t *pending = (struct versaloon_pending_t *)p;
 
-       processed = processed;
-
        if (pending->extra_data != NULL)
                *((uint8_t *)pending->extra_data) = src[0];