Page MenuHomeFreeBSD

pctrie: reduce code duplication in PCTRIE_INSERT_*
ClosedPublic

Authored by dougm on Oct 25 2024, 9:56 PM.
Tags
None
Referenced Files
F146132672: D47288.diff
Sat, Feb 28, 2:33 AM
Unknown Object (File)
Sun, Feb 22, 12:22 PM
Unknown Object (File)
Tue, Feb 17, 6:11 AM
Unknown Object (File)
Sun, Feb 8, 1:42 PM
Unknown Object (File)
Sat, Feb 7, 5:38 PM
Unknown Object (File)
Fri, Jan 30, 11:23 PM
Unknown Object (File)
Jan 21 2026, 4:27 PM
Unknown Object (File)
Jan 15 2026, 7:40 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

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