diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-02-27 12:39:22 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-12 06:09:09 (GMT) |
commit | 4a1e81bc5dbecb28c33851e8e571d2127462910d (patch) | |
tree | 8ec07393f8c779a7f2fee670294dffe103410689 /fs/squashfs/cache.c | |
parent | 3b7a3dac9204d1f1b5e7c314dbacb372a93b7c99 (diff) | |
download | linux-4a1e81bc5dbecb28c33851e8e571d2127462910d.tar.xz |
staging: [media] mn88472: simplify NULL tests
Replace direct comparisons to NULL i.e. 'x == NULL' with '!x' for
consistency. Coccinelle semantic patch used:
@@
identifier func;
expression x;
statement Z;
@@
x = func(...);
if (
(
+ !
x
- == NULL
|
+ !
- NULL ==
x
)
) Z
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/squashfs/cache.c')
0 files changed, 0 insertions, 0 deletions