cmd: Do not use comparison to NULL
checkpatch emits two warnings of type:
CHECK: Comparison to NULL could be written "!foo"
Prefer `(!foo)` instead of `(foo == NULL)`.
Do not use comparison to NULL, use !foo
Signed-off-by:
Tobin C. Harding <me@tobin.cc>
Showing
Please
register
or
sign in
to comment