HomeFreeBSD

twsi: no need to compare boolean with boolean constant

Description

twsi: no need to compare boolean with boolean constant

Testing the boolean directly is shorter and more idiomatic.

MFC after: 1 week

Details

Provenance
avgAuthored on Sep 3 2020, 8:01 AM
Parents
rGd6adffa570a9: twsi: replace a couple of errno codes with i2c error codes
Branches
Unknown
Tags
Unknown

Event Timeline