From 79969811d94007d03194cb09d2b99899789c8e84 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 16 Apr 2011 19:28:00 +0000 Subject: [PATCH] Misc USB storage-related cleanup git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3515 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lpc17xx/lpc17_usbdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/src/lpc17xx/lpc17_usbdev.c b/arch/arm/src/lpc17xx/lpc17_usbdev.c index 24a97dd4f4..dd5e465da4 100755 --- a/arch/arm/src/lpc17xx/lpc17_usbdev.c +++ b/arch/arm/src/lpc17xx/lpc17_usbdev.c @@ -1921,7 +1921,6 @@ static inline void lpc17_ep0setup(struct lpc17_usbdev_s *priv) static inline void lpc17_ep0dataoutinterrupt(struct lpc17_usbdev_s *priv) { - struct lpc17_ep_s *ep0; uint32_t pktlen; /* Copy new setup packet into setup buffer */ @@ -1969,7 +1968,6 @@ static inline void lpc17_ep0dataoutinterrupt(struct lpc17_usbdev_s *priv) lpc17_epstall(&priv->eplist[LPC17_EP0_IN].ep, false); lpc17_epstall(&priv->eplist[LPC17_EP0_OUT].ep, false); } - return; } /*******************************************************************************