HomeFreeBSD

ixgbe: fix impossible condition

Description

ixgbe: fix impossible condition

Coverity flagged this condition: The condition

offset == 0 && offset == 65535

can never be true because offset cannot be equal
to two different values at the same time.

Submitted by: bret_ketchum@dell.com
Reported by: Coverity
Reviewed by: tsoome, cem
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D26144

(cherry picked from commit ab1c54fec66803235a8923333fa79f2cbfa33354)

Details

Provenance
vangyzenAuthored on Aug 21 2020, 7:34 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Oct 3 2021, 1:59 AM
Reviewer
tsoome
Differential Revision
D26144: The condition can never be true
Parents
rG2b81559f4fd6: ixgbe: whitespace cleanup pass
Branches
Unknown
Tags
Unknown