diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-27 10:06:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-09 01:22:17 +0200 |
commit | ef0840286045fe7ce84cb77e7608f0844c81001c (patch) | |
tree | fe03d6020b1b9627abe85630d71cfdfc0d6f06a1 /drivers | |
parent | [PATCH] USB: Gadget library: centralize gadget controller numbers (diff) | |
download | linux-ef0840286045fe7ce84cb77e7608f0844c81001c.tar.xz linux-ef0840286045fe7ce84cb77e7608f0844c81001c.zip |
[PATCH] USB: fix keyspan_remote endian bug on probe
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/input/keyspan_remote.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/input/keyspan_remote.c b/drivers/usb/input/keyspan_remote.c index 67dc93685203..99de1b33c07d 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) { |