]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bwi: Remove write-only variable
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 19:07:20 +0000 (13:07 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 19:52:54 +0000 (13:52 -0600)
commit6e5056a903ccad5c5e9da543f77f9e0fe55489fb
treece621e86a60c1b80d5c41706e481629fa515687b
parentcbf7b9e6eeb696c2c158b788a0f364dcb1082422
bwi: Remove write-only variable

bbp_atten is write-only: we don't use it later in
bwi_rf_calc_nrssi_slope_11b. However, we may also be able to eliminate
the read of this value from the device. However, The documationation for
this hardware is thing and I can't test this card so I've left the read
of this register in case it's required.

Sponsored by: Netflix
sys/dev/bwi/bwirf.c