diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-28 03:11:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-28 03:11:25 +0000 |
commit | 8db80799779006fd09162b986854db5068e528f5 (patch) | |
tree | a9ff65f2026b3ba887c2affb493df2bf29bc99b6 /nuttx/arch/arm | |
parent | f22bd41b47bfc1457cda81752662c7c81a3a7b49 (diff) | |
download | px4-nuttx-8db80799779006fd09162b986854db5068e528f5.tar.gz px4-nuttx-8db80799779006fd09162b986854db5068e528f5.tar.bz2 px4-nuttx-8db80799779006fd09162b986854db5068e528f5.zip |
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
Diffstat (limited to 'nuttx/arch/arm')
-rwxr-xr-x | nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c index a2678032f..e7e71d3ab 100755 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c @@ -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, 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 **********************************************************/ 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; - /* This may get called with a NULL buffer pointer on certain error handling - * paths. - */ - if (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: * Configure endpoint 0. This method is normally used internally by the |