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.
Differential D47320
pctrie: reduce code duplication in PCTRIE_REMOVE_* dougm on Mon, Oct 28, 10:04 PM. Authored by Tags None Referenced Files
Subscribers
Details
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
|