opnsense-src/sys/ofed/drivers/infiniband
Andrew Turner 77d05874de 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

(cherry picked from commit 19782e5bef3403a6ed65d46653f2e70f81dced37)
2024-07-15 12:28:53 +00:00
..
core ibcore: Mark write-only variables 2024-07-15 12:28:53 +00:00
ulp net: Remove unneeded NULL check for the allocated ifnet 2024-07-12 20:03:37 +08:00
util Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00