Fix chip/kinetis_usbdev.c:3317:1: error: unused function 'khci_epreserved'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
232360cbd0
commit
6fd08787b6
@ -589,8 +589,6 @@ static inline struct khci_ep_s *
|
||||
static inline void
|
||||
khci_epunreserve(struct khci_usbdev_s *priv,
|
||||
struct khci_ep_s *privep);
|
||||
static inline bool
|
||||
khci_epreserved(struct khci_usbdev_s *priv, int epno);
|
||||
static void khci_ep0configure(struct khci_usbdev_s *priv);
|
||||
|
||||
/* Endpoint operations ******************************************************/
|
||||
@ -3309,16 +3307,6 @@ khci_epunreserve(struct khci_usbdev_s *priv, struct khci_ep_s *privep)
|
||||
leave_critical_section(flags);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: khci_epreserved
|
||||
****************************************************************************/
|
||||
|
||||
static inline bool
|
||||
khci_epreserved(struct khci_usbdev_s *priv, int epno)
|
||||
{
|
||||
return ((priv->epavail & KHCI_ENDP_BIT(epno)) == 0);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: khci_ep0configure
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user