Re: [PATCH] bluetooth: Remove unnecessary smp_mb__after_atomic() barriers

From: Marcel Holtmann
Date: Tue Dec 18 2018 - 18:49:57 EST


Hi Andrea,

> 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@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/bluetooth/btusb.c | 8 ++------
> drivers/bluetooth/hci_intel.c | 16 ++++------------
> 2 files changed, 6 insertions(+), 18 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel