aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand/zalloc.c
diff options
context:
space:
mode:
authorR. Christian McDonald <rcm@FreeBSD.org>2026-11-30 02:10:25 +0000
committerR. Christian McDonald <rcm@FreeBSD.org>2026-11-30 02:10:25 +0000
commit3343e51ada5b9fddda32aa21b82cae437c67423e (patch)
tree3477d4593affa902e9b791b848b4d8cc876006a3 /lib/libstand/zalloc.c
parent8a8a527296ca5a7245b7cb2093e813aeca0e0ef8 (diff)
rtwn: fix the build without RTWN_DEBUGHEADmain
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 'lib/libstand/zalloc.c')
0 files changed, 0 insertions, 0 deletions