Page MenuHomeFreeBSD

pctrie: reduce code duplication in PCTRIE_REMOVE_*
ClosedPublic

Authored by dougm on Mon, Oct 28, 10:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 8:46 PM
Unknown Object (File)
Sun, Nov 3, 12:36 PM
Unknown Object (File)
Fri, Nov 1, 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.Fri, Nov 1, 1:31 PM