remove useless variable

This commit is contained in:
Martino Facchin 2015-06-05 17:51:09 +02:00 committed by Cristian Maglie
parent d3815e7e36
commit 15edf1c6c8
1 changed files with 1 additions and 2 deletions

View File

@ -446,11 +446,10 @@ int USB_RecvControl(void* d, int len)
int SendInterfaces()
{
int total = 0;
u8 interfaces = 0;
#ifdef CDC_ENABLED
total = CDC_GetInterface(&interfaces);
CDC_GetInterface(&interfaces);
#endif
#ifdef PLUGGABLE_USB_ENABLED