Commit 57903f29 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

staging/easycap: easycap_probe: drop unuzed variables

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ad30d7af
...@@ -2987,13 +2987,7 @@ static int easycap_usb_probe(struct usb_interface *intf, ...@@ -2987,13 +2987,7 @@ static int easycap_usb_probe(struct usb_interface *intf,
int ndong; int ndong;
struct data_urb *pdata_urb; struct data_urb *pdata_urb;
size_t wMaxPacketSize; size_t wMaxPacketSize;
int ISOCwMaxPacketSize;
int BULKwMaxPacketSize;
int INTwMaxPacketSize;
int CTRLwMaxPacketSize;
u8 bEndpointAddress; u8 bEndpointAddress;
u8 ISOCbEndpointAddress;
u8 INTbEndpointAddress;
int isin, i, j, k, m, rc; int isin, i, j, k, m, rc;
u8 bInterfaceNumber; u8 bInterfaceNumber;
u8 bInterfaceClass; u8 bInterfaceClass;
...@@ -3362,13 +3356,6 @@ static int easycap_usb_probe(struct usb_interface *intf, ...@@ -3362,13 +3356,6 @@ static int easycap_usb_probe(struct usb_interface *intf,
JOM(4, "intf[%i]alt[%i]: desc.iInterface=0x%02X\n", JOM(4, "intf[%i]alt[%i]: desc.iInterface=0x%02X\n",
bInterfaceNumber, i, interface->iInterface); bInterfaceNumber, i, interface->iInterface);
ISOCwMaxPacketSize = -1;
BULKwMaxPacketSize = -1;
INTwMaxPacketSize = -1;
CTRLwMaxPacketSize = -1;
ISOCbEndpointAddress = 0;
INTbEndpointAddress = 0;
if (0 == interface->bNumEndpoints) if (0 == interface->bNumEndpoints)
JOM(4, "intf[%i]alt[%i] has no endpoints\n", JOM(4, "intf[%i]alt[%i] has no endpoints\n",
bInterfaceNumber, i); bInterfaceNumber, i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment