Fix:
core.c: In function 'usbd_device_event_irq':
core.c:596:21: warning: variable 'state' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Acked-by: Remy Bohmer <linux@bohmer.net>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
                usbdbg("event %d - not handled",event);
                break;
        }
-       /*usbdbg("%s event: %d oldstate: %d newstate: %d status: %d address: %d",
+       debug("%s event: %d oldstate: %d newstate: %d status: %d address: %d",
                device->name, event, state,
-               device->device_state, device->status, device->address); */
+               device->device_state, device->status, device->address);
 
        /* tell the bus interface driver */
        if( device->event ) {