commit | 3131f7b0ab9ed461daa2464fffd9df784d1f730d | [log] [tgz] |
---|---|---|
author | Robert Jarzmik <robert.jarzmik@free.fr> | Mon Oct 13 20:06:00 2008 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Oct 22 10:05:28 2008 -0700 |
tree | 174621c5fb081886f30fc69aa255b3cd63e0f4ca | |
parent | dd9ebf1421902df806c0ed6fac296badaca06161 [diff] |
USB: Fix unneeded endpoint check in pxa27x_udc The request allocation code doesn't need to check if the endpoint is not NULL, as the only caller in include/linux/usb/gadget.h, usb_ep_alloc_request() needs the endpoint pointer to have a correct value to trigger the allocation code. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>