]> asedeno.scripts.mit.edu Git - linux.git/commit
drivers/dma/ioat: Remove now-redundant smp_read_barrier_depends()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 2 Dec 2017 01:04:39 +0000 (17:04 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 5 Dec 2017 19:57:53 +0000 (11:57 -0800)
commit98c1ec7cefaadbf65680d116c3d8612b93a841a0
treee55a7ad431b5c7134d5c71c55e026e0b07bfbca1
parentadf90eb49055636fc35aede54174456ac3520f27
drivers/dma/ioat: Remove now-redundant smp_read_barrier_depends()

Now that READ_ONCE() implies smp_read_barrier_depends(), the
__cleanup() and ioat_abort_descs() functions no longer need their
smp_read_barrier_depends() calls, which this commit removes.
It is actually not entirely clear why this driver ever included
smp_read_barrier_depends() given that it appears to be x86-only and
given that smp_read_barrier_depends() has no effect whatsoever except
on DEC Alpha.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: <dmaengine@vger.kernel.org>
drivers/dma/ioat/dma.c