opnsense-src/sys/dev/sfxge
Dimitry Andric a79731b945 Fix unused variable warning in sfxge's ef10_tx.c
With clang 15, the following -Werror warning is produced:

    sys/dev/sfxge/common/ef10_tx.c:345:15: error: variable 'eqp' set but not used [-Werror,-Wunused-but-set-variable]
            efx_qword_t *eqp;
                         ^

The 'eqp' variable is passed as an argument to the EFSYS_BAR_WC_WRITEQ()
macro, but currently this macro ignores the argument, similar to its
other _esbp argument. Silence the warning by casting the _eqp argument
to void in the macro.

MFC after:	3 days
2022-07-26 19:59:56 +02:00
..
common Fix unused variable warning in sfxge's ef10_tx.c 2022-07-26 19:59:56 +02:00
sfxge.c sfxge: Remove unused devclass argument to DRIVER_MODULE. 2022-05-09 12:22:04 -07:00
sfxge.h sfxge: clean up empty lines in .c and .h files 2020-09-01 21:29:01 +00:00
sfxge_dma.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
sfxge_ev.c sfxge: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:20 -07:00
sfxge_intr.c sfxge: Remove unused variables. 2022-04-07 17:01:28 -07:00
sfxge_ioc.h
sfxge_mcdi.c sfxge: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:20 -07:00
sfxge_nvram.c sfxge: clean up empty lines in .c and .h files 2020-09-01 21:29:01 +00:00
sfxge_port.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
sfxge_rx.c sfxge: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:20 -07:00
sfxge_rx.h
sfxge_tx.c sfxge: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:20 -07:00
sfxge_tx.h sfxge: clean up empty lines in .c and .h files 2020-09-01 21:29:01 +00:00
sfxge_version.h