HomeFreeBSD

bnxt(4): Eliminate wrong sizeof() expression in memset()

Description

bnxt(4): Eliminate wrong sizeof() expression in memset()

While here, clean up magic numbers.

The memset(,0,) (and M_ZERO!) can just be removed; the bit_alloc() API already
zeros the allocation.

No functional change.

Reported by: Coverity
CID: 1378286

Details

Provenance
cemAuthored on
Parents
rS357247: ixgbe(4): Eliminate bogus sizeof() expressions
Branches
Unknown
Tags
Unknown