staging: rtl8192u: rewrite NULL comparison for pointers
authorNicholas Sim <nicholassimws@gmail.com>
Tue, 5 Apr 2016 16:21:32 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 00:53:47 +0000 (17:53 -0700)
commitb8a99fb513a63397b43f63f4825371f64a79e821
tree4a644e318652d73d74c25f66c1bd27be8a0a46f9
parentb7141cbaf9cb6361c97d34ed17989af01e77f437
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>
drivers/staging/rtl8192u/r8192U_core.c