Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249098
b: refs/heads/master
c: 57903f2
h: refs/heads/master
v: v3
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Apr 21, 2011
1 parent 6c74906 commit 6fe4f37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad30d7af14c778a63304e42acdcedc365b26e8d8
refs/heads/master: 57903f29cde4717d51123df0c9c7b670b6403ac5
13 changes: 0 additions & 13 deletions trunk/drivers/staging/easycap/easycap_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6fe4f37

Please sign in to comment.