]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Staging: usbip: simplify get_ep_from_epnum
authorEndre Kollar <taxy443@gmail.com>
Tue, 27 Jul 2010 10:39:45 +0000 (12:39 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Jul 2010 18:08:31 +0000 (11:08 -0700)
commitab30f12d4ef11cc92fa9a657bf0c9b9951f24011
tree85712a04acb43b2d16b759f6d3e658dbfce08791
parentaa5873e96271611ae55586f65e49ea1fab90cb88
Staging: usbip: simplify get_ep_from_epnum

usb_device->ep_in/out includes the necessary endpoints, search is not needed.

Signed-off-by: Endre Kollar <taxy443@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/stub_rx.c