Remove some garbage left in the file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3220 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
653e97e0ee
commit
56904cac23
@ -235,18 +235,6 @@ static void lpc17_enqueuetd(volatile struct lpc17_hced_s *ed, uint32_t dirpid,
|
|||||||
static int lpc17_ctrltd(struct lpc17_usbhost_s *priv, uint32_t dirpid,
|
static int lpc17_ctrltd(struct lpc17_usbhost_s *priv, uint32_t dirpid,
|
||||||
uint8_t *buffer, size_t buflen);
|
uint8_t *buffer, size_t buflen);
|
||||||
|
|
||||||
/* Class helper functions ******************************************************/
|
|
||||||
|
|
||||||
static inline int lpc17_devdesc(struct lpc17_usbhost_s *priv,
|
|
||||||
const struct usb_devdesc_s *devdesc, int desclen,
|
|
||||||
struct usbhost_id_s *id);
|
|
||||||
static inline int lpc17_configdesc(struct lpc17_usbhost_s *priv,
|
|
||||||
const uint8_t *configdesc, int desclen,
|
|
||||||
struct usbhost_id_s *id);
|
|
||||||
static inline int lpc17_classbind(struct lpc17_usbhost_s *priv,
|
|
||||||
const uint8_t *configdesc, int desclen,
|
|
||||||
struct usbhost_id_s *id);
|
|
||||||
|
|
||||||
/* Interrupt handling **********************************************************/
|
/* Interrupt handling **********************************************************/
|
||||||
|
|
||||||
static int lpc17_usbinterrupt(int irq, FAR void *context);
|
static int lpc17_usbinterrupt(int irq, FAR void *context);
|
||||||
@ -558,10 +546,6 @@ static void lpc17_tdfree(struct lpc17_usbhost_s *priv, uint8_t *buffer)
|
|||||||
{
|
{
|
||||||
struct lpc17_buflist_s *tdfree = (struct lpc17_buflist_s *)buffer;
|
struct lpc17_buflist_s *tdfree = (struct lpc17_buflist_s *)buffer;
|
||||||
|
|
||||||
/* This may get called with a NULL buffer pointer on certain error handling
|
|
||||||
* paths.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (tdfree)
|
if (tdfree)
|
||||||
{
|
{
|
||||||
tdfree->flink = g_tdfree;
|
tdfree->flink = g_tdfree;
|
||||||
@ -937,7 +921,7 @@ static int lpc17_enumerate(FAR struct usbhost_driver_s *drvr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: DRVR_EP0CONFIGURE
|
* Name: lpc17_ep0configure
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Configure endpoint 0. This method is normally used internally by the
|
* Configure endpoint 0. This method is normally used internally by the
|
||||||
|
Loading…
Reference in New Issue
Block a user