summaryrefslogtreecommitdiff
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorEva Rachel Retuya <eraretuya@gmail.com>2016-02-27 12:39:24 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-12 06:09:09 (GMT)
commit7586170c84de561c7bf05dd0df0c4bf9786417d5 (patch)
treea698c5792626b23e9aad5c0cdbff6d80f380f77c /scripts/unifdef.c
parenteff8bf82432b6a3cd367e765a1806ebe3d1556e8 (diff)
downloadlinux-7586170c84de561c7bf05dd0df0c4bf9786417d5.tar.xz
staging: rts5208: 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 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions