diff options
| author | Robert Jarzmik <[email protected]> | 2008-10-13 18:06:00 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2008-10-22 17:05:28 +0000 |
| commit | 3131f7b0ab9ed461daa2464fffd9df784d1f730d (patch) | |
| tree | 174621c5fb081886f30fc69aa255b3cd63e0f4ca /drivers/usb/class/cdc-acm.c | |
| parent | usb/gadget: fix kernel-doc warning (diff) | |
| download | kernel-3131f7b0ab9ed461daa2464fffd9df784d1f730d.tar.gz kernel-3131f7b0ab9ed461daa2464fffd9df784d1f730d.zip | |
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 <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
