]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unlink_nhgrp: Remove write-only variable.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 6 Apr 2022 23:45:27 +0000 (16:45 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 6 Apr 2022 23:45:27 +0000 (16:45 -0700)
commit371c917b0b450d1944bf0ea18afdfc158af08f2e
tree3df4866e42465dfac7fbb60d3407c7f518e17407
parent7650d4b67e53d3916313eb23d618cac50fdec9cc
unlink_nhgrp: Remove write-only variable.

Possibly one could assert that ret should always be 0 here (that is,
that there was always an index found in the bitmask).  That should be
true since a bitmask index is allocated before the nhgrp is inserted
in the ctl->gr_head list in link_nhgrp.
sys/net/route/nhgrp.c