drivers/usbdev: Eliminate some warnings

This commit is contained in:
Gregory Nutt
2015-07-01 10:02:19 -06:00
parent ff389b15ab
commit e9a4455038
2 changed files with 5 additions and 0 deletions

View File

@@ -436,6 +436,7 @@ static int composite_setup(FAR struct usbdevclass_driver_s *driver,
uvdbg("type=%02x req=%02x value=%04x index=%04x len=%04x\n",
ctrl->type, ctrl->req, value, index, len);
UNUSED(index);
if ((ctrl->type & USB_REQ_TYPE_MASK) == USB_REQ_TYPE_STANDARD)
{