forked from len0rd/rockbox
remove unused vars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14552 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7e7d0dbee6
commit
720610bc0e
1 changed files with 2 additions and 5 deletions
|
@ -219,8 +219,6 @@ void usb_arcotg_dcd_stop(void)
|
|||
|
||||
void usb_arcotg_dcd_irq(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (dcd_controller.stopped == true) {
|
||||
return;
|
||||
}
|
||||
|
@ -239,7 +237,7 @@ void usb_arcotg_dcd_irq(void)
|
|||
memcpy(&dcd_controller.local_setup_buff,
|
||||
(uint8_t *) &dev_qh[0].setup_buffer, 8);
|
||||
|
||||
/* ack setup packet*/
|
||||
/* ack setup packet */
|
||||
UDC_ENDPTSETUPSTAT = UDC_ENDPTSETUPSTAT;
|
||||
setup_received_int(&dcd_controller.local_setup_buff);
|
||||
}
|
||||
|
@ -516,7 +514,6 @@ int usb_arcotg_dcd_enable(struct usb_ep* ep,
|
|||
unsigned char mult = 0, zlt = 0;
|
||||
int retval = 0;
|
||||
char *val = NULL; /* for debug */
|
||||
struct timer t;
|
||||
|
||||
/* catch bogus parameter */
|
||||
if (!ep) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue