]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitdff6d593b10fc04a24e07650c459947e9d6ff3c3
treedb87952b827ac493f25249492bd028bd9b133589
parent0697607acab976723bf67de95d7b87167c30abf8
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