commit | 7586170c84de561c7bf05dd0df0c4bf9786417d5 | [log] [tgz] |
---|---|---|
author | Eva Rachel Retuya <eraretuya@gmail.com> | Sat Feb 27 20:39:24 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 11 22:09:09 2016 -0800 |
tree | a698c5792626b23e9aad5c0cdbff6d80f380f77c | |
parent | eff8bf82432b6a3cd367e765a1806ebe3d1556e8 [diff] |
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>