qlnx: Disable unused by set warnings for ecore_ll2.c.

The OSAL_SPIN_LOCK_IRQSAVE macros take a flags argument that is unused
on FreeBSD (but used on other platforms).
This commit is contained in:
John Baldwin 2022-04-07 17:01:28 -07:00
parent eb147f78a4
commit c9bbf99be0

View File

@ -91,3 +91,4 @@ CFLAGS += -DCONFIG_ECORE_RDMA
CFLAGS += -DQLNX_ENABLE_IWARP
CWARNFLAGS+= -Wno-cast-qual
CWARNFLAGS.ecore_ll2.c+= ${NO_WUNUSED_BUT_SET_VARIABLE}