mirror of
https://github.com/apache/nuttx.git
synced 2026-08-30 13:43:09 +00:00
SAMA5D OHCI: Remove a local variable that is unused when debug is disabled; refresh a configuration. Update a README
This commit is contained in:
parent
eac8bcf910
commit
5381479cbb
1 changed files with 1 additions and 2 deletions
|
|
@ -3547,7 +3547,6 @@ errout:
|
|||
#ifdef CONFIG_USBHOST_ASYNCH
|
||||
static int sam_cancel(struct usbhost_driver_s *drvr, usbhost_ep_t ep)
|
||||
{
|
||||
struct sam_rhport_s *rhport = (struct sam_rhport_s *)drvr;
|
||||
struct sam_eplist_s *eplist = (struct sam_eplist_s *)ep;
|
||||
struct sam_ed_s *ed;
|
||||
struct sam_gtd_s *td;
|
||||
|
|
@ -3555,7 +3554,7 @@ static int sam_cancel(struct usbhost_driver_s *drvr, usbhost_ep_t ep)
|
|||
uintptr_t paddr;
|
||||
irqstate_t flags;
|
||||
|
||||
DEBUGASSERT(rhport && eplist && eplist->ed && eplist->tail);
|
||||
DEBUGASSERT(eplist && eplist->ed && eplist->tail);
|
||||
ed = eplist->ed;
|
||||
|
||||
/* These first steps must be atomic as possible */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue