usb: Fix compile error with debug enabled

...
usb_device.c:265:27: error: expected ')' before 'chunk'
    SYS_LOG_DBG(chunk > 0 ? "?" : "");
                           ^
...

Change-Id: I7d9f583c8591c7f86389c26338d70422e422fe4b
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2016-08-08 12:27:48 +03:00 committed by Inaky Perez-Gonzalez
commit 4ea0ab9ac0

View file

@ -262,7 +262,6 @@ static void usb_handle_control_transfer(uint8_t ep,
SYS_LOG_DBG("Read DATA Packet failed\n");
usb_dc_ep_set_stall(USB_CONTROL_IN_EP0);
}
SYS_LOG_DBG(chunk > 0 ? "?" : "");
return;
}