Add checks for booleaness of flag tests.
If there is no need for double negated checks simplify them.
This all makes the conditions a lot easier to read.
No functional changes.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential D49055
net80211: crypto: ccmp: simplify and style(9) bz on Wed, Feb 19, 12:32 PM. Authored by Tags None Referenced Files
Details
Add checks for booleaness of flag tests. No functional changes. Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions 👍 from De Morgan. Maybe make the subject "simplify and style(9)", at first glance I was looking for another change in the first one other than just adding != 0 |