]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bwi: Mark write-only variable as __unused
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 19:09:27 +0000 (13:09 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 19:52:55 +0000 (13:52 -0600)
commit5035b5f5b0ec3de3f4569fc2c73f516194aae723
treec0798ba01a42b6ffd2a6d25629addc18221efe00
parent6e5056a903ccad5c5e9da543f77f9e0fe55489fb
bwi: Mark write-only variable as __unused

We read TX_STATUS1 to acknowledge a TX interrupt. We don't use this
value for anything, so mark it as unused. We may be able to eliminate
this read, but since this hardware is poorly documented and difficult to
test, I'm leaving the read in place.

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