From eb7edc43b87f3e55f1b35badbb48bf69e934c840 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Wed, 12 Jun 2019 13:45:21 +0200 Subject: [PATCH] fixup! Simplify Synaptics driver Remove unused variables from usb_transport.c --- libfprint/drivers/synaptics/usb_transport.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libfprint/drivers/synaptics/usb_transport.c b/libfprint/drivers/synaptics/usb_transport.c index 1a13865..5f62b80 100644 --- a/libfprint/drivers/synaptics/usb_transport.c +++ b/libfprint/drivers/synaptics/usb_transport.c @@ -151,7 +151,6 @@ free_config: int usb_close(bmkt_usb_transport_t *usb_xport) { - int ret; if (usb_xport->handle) { libusb_release_interface(usb_xport->handle, USB_DEFAULT_INTERFACE); @@ -163,7 +162,6 @@ int usb_close(bmkt_usb_transport_t *usb_xport) void usb_in_cb(struct libusb_transfer *transfer) { int ret; - int len = 0; uint8_t *resp_buf; int resp_len; bmkt_msg_resp_t msg_resp;