freebsd-src/sys/ofed
Andrew Turner 19782e5bef ibcore: Mark write-only variables
Some LinuxKPI lock macros pass need a flags field passed in. This is
written to but never read from so gcc complains.

Fix this by marking the flags variables as unused to quieten the
compiler.

Reviewed by:	brooks (earlier version), kib
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45303
2024-06-12 14:04:45 +01:00
..
drivers/infiniband ibcore: Mark write-only variables 2024-06-12 14:04:45 +01:00
include ibcore: Introduce enum ib_raw_packet_caps from Linux 4.11 2023-10-28 16:59:14 -04:00