mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
staging/easycap: easycap_probe: drop unuzed variables
Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ad30d7af14
commit
57903f29cd
1 changed files with 0 additions and 13 deletions
|
@ -2987,13 +2987,7 @@ static int easycap_usb_probe(struct usb_interface *intf,
|
|||
int ndong;
|
||||
struct data_urb *pdata_urb;
|
||||
size_t wMaxPacketSize;
|
||||
int ISOCwMaxPacketSize;
|
||||
int BULKwMaxPacketSize;
|
||||
int INTwMaxPacketSize;
|
||||
int CTRLwMaxPacketSize;
|
||||
u8 bEndpointAddress;
|
||||
u8 ISOCbEndpointAddress;
|
||||
u8 INTbEndpointAddress;
|
||||
int isin, i, j, k, m, rc;
|
||||
u8 bInterfaceNumber;
|
||||
u8 bInterfaceClass;
|
||||
|
@ -3362,13 +3356,6 @@ static int easycap_usb_probe(struct usb_interface *intf,
|
|||
JOM(4, "intf[%i]alt[%i]: desc.iInterface=0x%02X\n",
|
||||
bInterfaceNumber, i, interface->iInterface);
|
||||
|
||||
ISOCwMaxPacketSize = -1;
|
||||
BULKwMaxPacketSize = -1;
|
||||
INTwMaxPacketSize = -1;
|
||||
CTRLwMaxPacketSize = -1;
|
||||
ISOCbEndpointAddress = 0;
|
||||
INTbEndpointAddress = 0;
|
||||
|
||||
if (0 == interface->bNumEndpoints)
|
||||
JOM(4, "intf[%i]alt[%i] has no endpoints\n",
|
||||
bInterfaceNumber, i);
|
||||
|
|
Loading…
Reference in a new issue