Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -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;

	if (ep->name)
		nuke(ep, -ESHUTDOWN);

	return 0;
}

/*