Page MenuHomeFreeBSD

net80211 amdpu: Simplify a few loops that drain an mbufq
ClosedPublic

Authored by jhb on Jan 5 2024, 9:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 8, 1:44 AM
Unknown Object (File)
Fri, Nov 7, 1:22 AM
Unknown Object (File)
Oct 31 2025, 1:18 AM
Unknown Object (File)
Oct 29 2025, 5:00 PM
Unknown Object (File)
Oct 29 2025, 4:52 PM
Unknown Object (File)
Oct 29 2025, 4:52 PM
Unknown Object (File)
Oct 29 2025, 4:51 PM
Unknown Object (File)
Oct 27 2025, 10:19 PM

Details

Summary

These loops already handled a NULL return from mbufq_dequeue when the
queue was empty, so remove a redundant check of mbufq_len before
dequeueing.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable