staging: ion: Remove explicit NULL comparison
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Mon, 19 Oct 2015 17:07:51 +0000 (22:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:26:59 +0000 (19:26 -0700)
commitcf31378ba705945fb7b7d6e6c96e47a8a6ce4503
tree48af1b6de2b31496fba9e06667c3e49164865e72
parent7346489110da94ed5792a8f1ef3116e0bd1961f6
staging: ion: Remove explicit NULL comparison

Rewrite explicit NULL comparison in its simpler form.
<smpl>
@NULL_REPLACE@
expression e;
@@

-e == NULL
+ !e

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_heap.c