From: Greg Kroah-Hartman Date: Wed, 27 Jul 2005 08:06:19 +0000 (-0700) Subject: [PATCH] USB: fix keyspan_remote endian bug on probe X-Git-Tag: v2.6.14-rc1~492^2~18^2~54 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ef0840286045fe7ce84cb77e7608f0844c81001c;p=linux-2.6-omap-h63xx.git [PATCH] USB: fix keyspan_remote endian bug on probe Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/input/keyspan_remote.c b/drivers/usb/input/keyspan_remote.c index 67dc9368520..99de1b33c07 100644 --- a/drivers/usb/input/keyspan_remote.c +++ b/drivers/usb/input/keyspan_remote.c @@ -431,11 +431,6 @@ static int keyspan_probe(struct usb_interface *interface, const struct usb_devic struct usb_endpoint_descriptor *endpoint; struct usb_device *udev = usb_get_dev(interface_to_usbdev(interface)); - /* See if the offered device matches what we can accept */ - if ((udev->descriptor.idVendor != USB_KEYSPAN_VENDOR_ID) || - (udev->descriptor.idProduct != USB_KEYSPAN_PRODUCT_UIA11) ) - return -ENODEV; - /* allocate memory for our device state and initialize it */ remote = kmalloc(sizeof(*remote), GFP_KERNEL); if (remote == NULL) {