]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit861d78e936f3807eb33022a0aae78498b764f9dd
tree48af1b6de2b31496fba9e06667c3e49164865e72
parent148e9b10dcf73438db7feeb2dbc593a5c2db7f6c
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