Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic
authorAndrea Parri <andrea.parri@amarulasolutions.com>
Tue, 14 Aug 2018 18:41:06 +0000 (20:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 27 Sep 2018 09:59:58 +0000 (11:59 +0200)
commit5aac49378742a52bbe8af3d25bc51b487be7b17f
tree766b8ef63da32898842943c4d4df7d63b9b04af1
parent1042caa79e9351b81ed19dc8d2d7fd6ff51a4422
Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic

The barriers are unneeded; wait_woken() and woken_wake_function()
already provide us with the required synchronization: remove them
and document that we're relying on the (implicit) synchronization
provided by wait_woken() and woken_wake_function().

Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/bnep/core.c
net/bluetooth/cmtp/core.c
net/bluetooth/hidp/core.c