Skip to content

Commit

Permalink
[PATCH] USB: fix keyspan_remote endian bug on probe
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Sep 8, 2005
1 parent 91e79c9 commit ef08402
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/input/keyspan_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ef08402

Please sign in to comment.