Skip to content
Commit bbed8794 authored by Frank Rowand's avatar Frank Rowand Committed by Rob Herring
Browse files

of: overlay.c: Convert comparisons to zero or NULL to logical expressions



Use normal shorthand for comparing a variable to zero.
For variable "XXX":
   convert (XXX == 0) to (!XXX)
   convert (XXX != 0) to (XXX)

Signed-off-by: default avatarFrank Rowand <frank.rowand@sony.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 646afc4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment