diff options
| author | R. Christian McDonald <rcm@FreeBSD.org> | 2026-11-30 02:10:25 +0000 |
|---|---|---|
| committer | R. Christian McDonald <rcm@FreeBSD.org> | 2026-11-30 02:10:25 +0000 |
| commit | 3343e51ada5b9fddda32aa21b82cae437c67423e (patch) | |
| tree | 3477d4593affa902e9b791b848b4d8cc876006a3 /sys/mips/include/cache.h | |
| parent | 8a8a527296ca5a7245b7cb2093e813aeca0e0ef8 (diff) | |
RTWN_DPRINTF() compiles to nothing without RTWN_DEBUG, which leaves four
of the IQK result copies in r92f_iq_calib() set but never read. Kernels
with "device rtwn" in their config, LINT among them, then fail with
-Werror,-Wunused-but-set-variable. The module build does not hit this
because its generated opt_rtwn.h always defines RTWN_DEBUG.
Print the result array directly and drop the four locals.
Fixes: 1f0e186e1832 ("rtwn: added support for Realtek RTL8192FU...")
Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys/mips/include/cache.h')
0 files changed, 0 insertions, 0 deletions
