Remove some unnecessary tests
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3235 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
1716aa6ee6
commit
62fc52a04b
@ -802,7 +802,7 @@ static int lpc17_usbinterrupt(int irq, FAR void *context)
|
||||
|
||||
else if (priv->connected)
|
||||
{
|
||||
/* Yes.. disable interrupts and disconnect the device */
|
||||
/* Yes.. disconnect the device */
|
||||
|
||||
ullvdbg("Disconnected\n");
|
||||
priv->connected = false;
|
||||
|
Loading…
Reference in New Issue
Block a user