Messages in this thread | | | Subject | Re: [PATCH] bluetooth: Remove unnecessary smp_mb__after_atomic() barriers | From | Marcel Holtmann <> | Date | Wed, 19 Dec 2018 00:49:53 +0100 |
| |
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@amarulasolutions.com> > --- > 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
| |