diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-16 16:37:30 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-11-18 13:54:54 +0200 |
commit | 1c404b51a05d1f22c81ed85a822def64c7bb911c (patch) | |
tree | c08561778e2863e8d16ae1b21eab123e1dc000fd /drivers/usb/dwc3/dwc3-pci.c | |
parent | 4411beba632db9925b6f970ee238df799d415b43 (diff) |
usb: dwc3: ep0: avoid empty-body warning
Building with W=1, we get a warning about harmless empty statements:
drivers/usb/dwc3/ep0.c: In function 'dwc3_ep0_handle_intf':
drivers/usb/dwc3/ep0.c:491:4: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
Instead of adding empty braces which would introduce checkpatch.pl
warnings, we're just removing the code which doesn't do anything and
making sure we return 0 so USBCV tool is happy.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-pci.c')
0 files changed, 0 insertions, 0 deletions