#14142 closed bug (fixed)

xhci.h: Remove unnecessary parentheses

Reported by: mt Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

https://review.haiku-os.org/#/c/haiku/+/187/

Remove unnecessary parentheses in declaration of 'trbs' pointed out by gcc8.

In file included from /home/haiku/haiku/haiku/src/add-ons/kernel/busses/usb/xhci.cpp:23:
/home/haiku/haiku/haiku/src/add-ons/kernel/busses/usb/xhci.h:71:18: error: unnecessary parentheses in declaration of 'trbs' [-Werror=parentheses]
  struct xhci_trb (*trbs); // [XHCI_MAX_ENDPOINTS - 1][XHCI_MAX_TRANSFERS]
                  ^

Change History (1)

comment:1 by korli, 16 months ago

Resolution: fixed
Status: newclosed

Patch applied in hrev51937.

Note: See TracTickets for help on using tickets.