staging/easycap: easycap_probe: drop unuzed variables
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 6 Apr 2011 14:37:35 +0000 (17:37 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Apr 2011 01:08:08 +0000 (18:08 -0700)
Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap_main.c

index 1845cce737aecda6534b6f53979f705b0dec2702..74adfb0ff347efbf8882ad975b8bb9b2bae20dd4 100644 (file)
@@ -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);