Page MenuHomeFreeBSD

pctrie: reduce code duplication in PCTRIE_INSERT_*
ClosedPublic

Authored by dougm on Oct 25 2024, 9:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 1:54 AM
Unknown Object (File)
Thu, Nov 28, 7:47 PM
Unknown Object (File)
Nov 11 2024, 11:39 PM
Unknown Object (File)
Nov 1 2024, 1:44 PM
Unknown Object (File)
Nov 1 2024, 1:44 PM
Unknown Object (File)
Nov 1 2024, 1:44 PM
Unknown Object (File)
Nov 1 2024, 1:32 PM
Unknown Object (File)
Oct 30 2024, 9:42 AM
Subscribers

Details

Summary

The four flavors of PCTRIE_INSERT inline functions share a few lines of code. Extract that code into a new function and invoke it from the others to reduce code duplication. No behavior change expected.

Diff Detail

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

Event Timeline

dougm requested review of this revision.Oct 25 2024, 9:56 PM
dougm created this revision.
This revision is now accepted and ready to land.Oct 28 2024, 6:55 PM