wMaxPacketSize are bEndpointAddress assigned but not used Cc: Mike Thomas <rmthomas@xxxxxxxxxxx> Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx> --- drivers/staging/easycap/easycap_main.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/staging/easycap/easycap_main.c b/drivers/staging/easycap/easycap_main.c index 9b6aef08..62e07f6 100644 --- a/drivers/staging/easycap/easycap_main.c +++ b/drivers/staging/easycap/easycap_main.c @@ -2986,8 +2986,6 @@ static int easycap_usb_probe(struct usb_interface *intf, struct easycap *peasycap; int ndong; struct data_urb *pdata_urb; - size_t wMaxPacketSize; - u8 bEndpointAddress; int i, j, k, m, rc; u8 bInterfaceNumber; u8 bInterfaceClass; @@ -3350,9 +3348,6 @@ static int easycap_usb_probe(struct usb_interface *intf, SAM("...... skipping\n"); continue; } - wMaxPacketSize = le16_to_cpu(ep->wMaxPacketSize); - bEndpointAddress = ep->bEndpointAddress; - if (!usb_endpoint_is_isoc_in(ep)) { JOM(4, "intf[%i]alt[%i]end[%i] is a %d endpoint\n", -- 1.7.4.4 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel