commit | 27f31cf9f7235cb3aa10860bf4fde5df6893bf52 | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Wed Feb 10 23:06:45 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 11 20:00:30 2016 -0800 |
tree | 335fbab90c7dfd5e8a5132d855e00b9528655cd7 | |
parent | e3b07865f5f6962d83e8b94d2968a9cfab7bdce5 [diff] |
staging: vt6656: replace explicit NULL comparison with ! operator Replace explicit NULL comparison with ! operator to simplify code. Found with Coccinelle: @@ expression e; statement s0, s1; @@ if ( ( + ! e - == NULL || ... ) ) s0 else s1 Signed-off-by: Alison Schofield <amsfield22@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>