HomeFreeBSD

MFC r305137:

Description

MFC r305137:

Eliminate unnecessary loop in _cap_check()

Calling cap_rights_contains() several times with the same inputs is not
going to produce a different output. The variable being iterated, i, is
never used inside the for loop.

The loop is actually done in cap_rights_contains()

Details

Provenance
eadlerAuthored on
Parents
rS330354: sys/fuse: fix off by one error
Branches
Unknown
Tags
Unknown