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)
Thu, Nov 28, 7:47 PM
Unknown Object (File)
Mon, Nov 11, 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
Unknown Object (File)
Oct 28 2024, 6:31 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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