Page MenuHomeFreeBSD

pctrie: reduce code duplication in PCTRIE_REMOVE_*
ClosedPublic

Authored by dougm on Oct 28 2024, 10:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 10:56 AM
Unknown Object (File)
Nov 23 2024, 4:39 AM
Unknown Object (File)
Nov 21 2024, 11:25 PM
Unknown Object (File)
Nov 7 2024, 9:36 PM
Unknown Object (File)
Nov 7 2024, 7:52 PM
Unknown Object (File)
Nov 3 2024, 8:46 PM
Unknown Object (File)
Nov 3 2024, 12:36 PM
Unknown Object (File)
Nov 1 2024, 9:09 PM
Subscribers

Details

Summary

There's a little bit of code that appears in each PCTRIE_REMOVE function in pctrie.h. Make a new function for it, and invoke it from those PCTRIE_REMOVE functions.

This common function will grow somewhat larger and more complex in the future.

Diff Detail

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

Event Timeline

dougm created this revision.
This revision is now accepted and ready to land.Nov 1 2024, 1:31 PM