HomeFreeBSD

ipdivert: Remove unnecessary and incorrectly typed variable.

Description

ipdivert: Remove unnecessary and incorrectly typed variable.

In principle n is only used to carry a copy of ipi_count, which is
unsigned, in the non-VIMAGE case, however ipi_count can be used
directly so it is not needed at all. Removing it makes things look
cleaner.

Details

Provenance
pfgAuthored on
Parents
rS298732: sys/devfs: unsign an index to prevent signed integer overflow.
Branches
Unknown
Tags
Unknown