提交 825bee3a 编写于 作者: W Will Newton 提交者: 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: NWill Newton <will.newton@gmail.com>
Acked-by: NLi Yang <leoli@freescale.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c93eebbe
......@@ -1165,16 +1165,12 @@ static int ep0_prime_status(struct fsl_udc *udc, int direction)
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);
if (!ep->name)
return 0;
nuke(ep, -ESHUTDOWN);
return 0;
if (ep->name)
nuke(ep, -ESHUTDOWN);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册