vhost: remove unnecessary smp_mb from vhost_work_queue
authorPeng Tao <bergwolf@gmail.com>
Wed, 7 Dec 2016 09:52:19 +0000 (17:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 16:26:46 +0000 (11:26 -0500)
commit635abf01918157e61dc9cfdfd70c40bd5957b6a3
treeae5eba6a1fb12a23b491f134a1d0384748496fb0
parent1440a3a12ba0a00f9fec7e6a62e49b11e079d381
vhost: remove unnecessary smp_mb from vhost_work_queue

test_and_set_bit() already implies a memory barrier.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/vhost.c