diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2011-05-18 23:29:30 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 01:30:08 +0400 |
commit | 8041f92a204c06aa5bef5f42a5108e3886c0b215 (patch) | |
tree | 642c9aaf9856440a0a4013802a0fd96aa42ad6b3 /drivers/staging/easycap | |
parent | 1d243c2e18a6070f4029b774966c51967c3240e0 (diff) | |
download | linux-8041f92a204c06aa5bef5f42a5108e3886c0b215.tar.xz |
staging/easycap: easycap_probe: drop more unused variables
wMaxPacketSize are bEndpointAddress assigned but not used
Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/easycap')
-rw-r--r-- | 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 9b6aef08ee4c..62e07f6a026c 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", |