staging: wlan-ng: rewrite NULL comparison
authorNicholas Sim <nicholassimws@gmail.com>
Tue, 5 Apr 2016 16:37:12 +0000 (17:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 00:43:15 +0000 (17:43 -0700)
commit02e020480daf3a7726db493ff28f9391ff6bb9c4
tree7dc8663c1dffb7e263b111644616d889d80b223e
parent9f563f1a2a4b448393159b3d526a6657dc4c0fce
staging: wlan-ng: rewrite NULL comparison

It is not necessary to compare explicitly to NULL. Rewrite if condition
as (!dev) or (dev) as suggested in Documentation/CodingStyle

Signed-off-by: Nicholas Sim <nicholassimws@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c