remove useless variable

This commit is contained in:
Martino Facchin 2015-06-05 17:51:09 +02:00 committed by Cristian Maglie
parent 1aec25b855
commit ec43b6c829
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 SendInterfaces()
{ {
int total = 0;
u8 interfaces = 0; u8 interfaces = 0;
#ifdef CDC_ENABLED #ifdef CDC_ENABLED
total = CDC_GetInterface(&interfaces); CDC_GetInterface(&interfaces);
#endif #endif
#ifdef PLUGGABLE_USB_ENABLED #ifdef PLUGGABLE_USB_ENABLED