diff options
author | Joern Engel <joern@logfs.org> | 2014-09-16 22:23:11 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-10-01 23:38:57 +0200 |
commit | 74ed7e62289dc6d388996d7c8f89c2e7e95b9657 (patch) | |
tree | 50f7364b619c59b70868b3ebe5d538a5916afabc /drivers/target/loopback | |
parent | target: simplify core_tmr_release_req() (diff) | |
download | linux-74ed7e62289dc6d388996d7c8f89c2e7e95b9657.tar.xz linux-74ed7e62289dc6d388996d7c8f89c2e7e95b9657.zip |
target: remove some smp_mb__after_atomic()s
atomic_inc_return() already does an implicit memory barrier and the
second case was moved from an atomic to a plain flag operation. If a
barrier were needed in the second case, it would have to be smp_mb(),
not a variant optimized away for x86 and other architectures.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/loopback')
0 files changed, 0 insertions, 0 deletions