[PATCH] USB: fix keyspan_remote endian bug on probe

Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

---
commit ef0840286045fe7ce84cb77e7608f0844c81001c
tree fe03d6020b1b9627abe85630d71cfdfc0d6f06a1
parent 91e79c91fab10f5790159d8d0c1d16da2a9653f9
author Greg Kroah-Hartman <[EMAIL PROTECTED]> Wed, 27 Jul 2005 01:06:19 -0700
committer Greg Kroah-Hartman <[EMAIL PROTECTED]> Thu, 08 Sep 2005 16:22:17 -0700

 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
--- a/drivers/usb/input/keyspan_remote.c
+++ b/drivers/usb/input/keyspan_remote.c
@@ -431,11 +431,6 @@ static int keyspan_probe(struct usb_inte
        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) {



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to