]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: Removed a line of redundant code
authorJoel Holdsworth <redacted>
Sat, 24 Mar 2012 10:07:22 +0000 (10:07 +0000)
committerJoel Holdsworth <redacted>
Sat, 24 Mar 2012 10:07:58 +0000 (10:07 +0000)
hardware/fx2lafw/fx2lafw.c

index 44716c99415de54dca8fa4aa906391dab73b922e..ffc89c4eb110da51bb3b35ee29b51f9841f0f2ac 100644 (file)
@@ -610,7 +610,6 @@ static void receive_transfer(struct libusb_transfer *transfer)
        /* Save incoming transfer before reusing the transfer struct. */
        cur_buf = transfer->buffer;
        cur_buflen = transfer->actual_length;
-       ctx = transfer->user_data;
 
        /* Fire off a new request. */
        if (!(new_buf = g_try_malloc(4096))) {