]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9fff197a7e3d9b8669b815b83bc37eedb81febab
tree19ccfa6766bea3adc5d9cbfe9f903e4299e18ef4
parent0133688178db32765bee0d6086727c23205832b5
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