Commit 825bee3a authored by Will Newton's avatar Will Newton Committed by Greg Kroah-Hartman

fsl_usb2_udc: Uninline udc_reset_ep_queue.

Uninline udc_reset_ep_queue and remove it's unused return value.
Signed-off-by: default avatarWill Newton <will.newton@gmail.com>
Acked-by: default avatarLi Yang <leoli@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c93eebbe
...@@ -1165,16 +1165,12 @@ static int ep0_prime_status(struct fsl_udc *udc, int direction) ...@@ -1165,16 +1165,12 @@ static int ep0_prime_status(struct fsl_udc *udc, int direction)
return status; return status;
} }
static inline int udc_reset_ep_queue(struct fsl_udc *udc, u8 pipe) static void udc_reset_ep_queue(struct fsl_udc *udc, u8 pipe)
{ {
struct fsl_ep *ep = get_ep_by_pipe(udc, pipe); struct fsl_ep *ep = get_ep_by_pipe(udc, pipe);
if (!ep->name) if (ep->name)
return 0;
nuke(ep, -ESHUTDOWN); nuke(ep, -ESHUTDOWN);
return 0;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment