LPC17xx: Fix a warning about an unused local variable
This commit is contained in:
parent
32e41423e4
commit
ff389b15ab
@ -10648,3 +10648,6 @@
|
||||
* arch/arm/src/sama5/sam_ehci.c: Fix some bad conditional compilation
|
||||
that left a function undefined if CONFIG_USBHOST_ASYNCH is not
|
||||
selected (2015-07-01).
|
||||
* arch/arm/src/common/up_vfork.c: Fix a Cortex-A compilation error
|
||||
when system calls are enabled in modes other than CONFIG_BUILD_KERNEL
|
||||
(2015-07-01)
|
@ -2873,7 +2873,6 @@ static int lpc17_epsubmit(FAR struct usbdev_ep_s *ep, FAR struct usbdev_req_s *r
|
||||
static int lpc17_epcancel(FAR struct usbdev_ep_s *ep, FAR struct usbdev_req_s *req)
|
||||
{
|
||||
FAR struct lpc17_ep_s *privep = (FAR struct lpc17_ep_s *)ep;
|
||||
FAR struct lpc17_usbdev_s *priv;
|
||||
irqstate_t flags;
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
@ -2883,8 +2882,8 @@ static int lpc17_epcancel(FAR struct usbdev_ep_s *ep, FAR struct usbdev_req_s *r
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
|
||||
usbtrace(TRACE_EPCANCEL, privep->epphy);
|
||||
priv = privep->dev;
|
||||
|
||||
flags = irqsave();
|
||||
lpc17_cancelrequests(privep);
|
||||
|
2
configs
2
configs
@ -1 +1 @@
|
||||
Subproject commit 92d94928d040abacc0ecd05b7a1d81c41cd7f250
|
||||
Subproject commit aa907bc50d567fc546b53e4deeeaf751a5a65f79
|
Loading…
Reference in New Issue
Block a user