Bluetooth: Move double negation to macros
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 23 Nov 2012 18:50:51 +0000 (16:50 -0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 3 Dec 2012 17:59:59 +0000 (15:59 -0200)
commitffa88e02bc67a1496fae762ad899e8f49136e7a1
tree19ccfa6766bea3adc5d9cbfe9f903e4299e18ef4
parent20714bfef84d3e690c9c6f8e9cd46543b5ae1eed
Bluetooth: Move double negation to macros

Some comparisons needs to double negation(!!) in order to make the value
of the field boolean. Add it to the macro makes the code more readable.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c