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)
Mon, Nov 4, 6:55 AM
Unknown Object (File)
Tue, Oct 22, 10:15 AM
Unknown Object (File)
Tue, Oct 22, 10:14 AM
Unknown Object (File)
Tue, Oct 22, 10:14 AM
Unknown Object (File)
Tue, Oct 22, 10:03 AM
Unknown Object (File)
Sep 29 2024, 1:47 PM
Unknown Object (File)
Sep 18 2024, 2:29 AM
Unknown Object (File)
Sep 17 2024, 8:19 AM

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