From: Joel Holdsworth Date: Sat, 24 Mar 2012 10:07:22 +0000 (+0000) Subject: fx2lafw: Removed a line of redundant code X-Git-Tag: libsigrok-0.1.0~29 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=24125e05202626c9fea3f056ecc5d008f544970b;p=libsigrok.git fx2lafw: Removed a line of redundant code --- diff --git a/hardware/fx2lafw/fx2lafw.c b/hardware/fx2lafw/fx2lafw.c index 44716c99..ffc89c4e 100644 --- a/hardware/fx2lafw/fx2lafw.c +++ b/hardware/fx2lafw/fx2lafw.c @@ -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))) {