Now that net80211 has this code, just leverage it instead of rolling
our own.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 60787 Build 57671: arc lint + arc unit
Event Timeline
Comment Actions
vap is used in the debug statement, so (void) it so it is "used" during
non-debug builds.
sys/dev/ath/if_ath_tx_ht.c | ||
---|---|---|
568 | Or add __diagused to the variable declaration |
sys/dev/ath/if_ath_tx_ht.c | ||
---|---|---|
568 | We do have some cases like that, e.g. sys/net/route/route_ctl.c: struct nhop_object __diagused *nh_src = rnd_src->rnd_nhop; sys/opencrypto/criov.c: int iol __diagused = uio->uio_iovcnt; sys/opencrypto/criov.c: int iol __diagused = uio->uio_iovcnt; sys/opencrypto/criov.c: int iol __diagused = uio->uio_iovcnt; sys/vm/vm_glue.c: size_t kpages __diagused = kstack_pages + KSTACK_GUARD_PAGES; sys/vm/vm_object.c: vm_object_t object __diagused = objectv; but indeed just using ni->ni_vap->iv_ampdu_limit would be easiest |