Bluetooth: trivial: Use preferred method for NULL check
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 7 Aug 2012 15:05:06 +0000 (18:05 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 21 Aug 2012 17:54:39 +0000 (14:54 -0300)
commit31f470738bf9fefc9399a45710c74322121119ac
treedd8f98805eac7244db2fdb6eb509ccacfbabded7
parent09d5d4aa647367eeb42352a2bc9d438b9c703670
Bluetooth: trivial: Use preferred method for NULL check

Use standard bluetooth way to check NULL pointer !var instead of
var == NULL.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/af_bluetooth.c