HomeFreeBSD

unlink_nhgrp: Remove write-only variable.

Description

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.

(cherry picked from commit 371c917b0b450d1944bf0ea18afdfc158af08f2e)

Details

Provenance
jhbAuthored on Apr 6 2022, 11:45 PM
melifaroCommitted on Jan 13 2023, 9:18 PM
Parents
rG1c915de99108: change_mpath_route: Remove write-only nh variable.
Branches
Unknown
Tags
Unknown