HomeFreeBSD

top(1): remove unneeded logic

Description

top(1): remove unneeded logic

  • remove __pure annotations I added earlier for some functions. One

writes to the the arguments as "out" pointers. The
other reads from an array, which while const within the function might
be mutated externally.

  • total_change is modified to be at 1, if previously 0, so no if check

is needed.

Details

Provenance
eadlerAuthored on
Parents
rS335048: Rework if_gre(4) to use encap_lookup_t method to speedup lookup
Branches
Unknown
Tags
Unknown