HomeFreeBSD

Clean up callers of nd6_prelist_add().

Description

Clean up callers of nd6_prelist_add().

nd6_prelist_add() sets *newp if and only if it is successful, so there's no
need for code that handles the case where the return value is 0 and
*newp == NULL. Fix some style bugs in nd6_prelist_add() while here.

MFC after: 1 week

Details

Provenance
markjAuthored on
Parents
rS299212: Remove two useless local variables from prelist_update().
Branches
Unknown
Tags
Unknown