commit | b8a99fb513a63397b43f63f4825371f64a79e821 | [log] [tgz] |
---|---|---|
author | Nicholas Sim <nicholassimws@gmail.com> | Tue Apr 05 17:21:32 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 29 17:53:47 2016 -0700 |
tree | 4a644e318652d73d74c25f66c1bd27be8a0a46f9 | |
parent | b7141cbaf9cb6361c97d34ed17989af01e77f437 [diff] |
staging: rtl8192u: rewrite NULL comparison for pointers When testing pointers, it is not necessary to explicitly compare to NULL. Rewrite if condition as (!ptr) or (ptr) as suggested in Documentation/CodingStyle Signed-off-by: Nicholas Sim <nicholassimws@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>