]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unnecessary smp_mb__after_atomic() barriers
authorAndrea Parri <andrea.parri@amarulasolutions.com>
Tue, 27 Nov 2018 11:22:25 +0000 (12:22 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Dec 2018 23:37:00 +0000 (00:37 +0100)
commit1f3ad644583962534c8ae58a4faed586f46976c0
treedb87952b827ac493f25249492bd028bd9b133589
parent4d3dd02d9425a5962e48051f499cdea8be627a10
Bluetooth: Remove unnecessary smp_mb__after_atomic() barriers

The barriers are redundant because atomic_test_and_clear_bit() already
provides the required full ordering for the cases in question (that is,
when the bit is cleared).

Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c
drivers/bluetooth/hci_intel.c