diff options
author | Mike Christie <michael.christie@oracle.com> | 2022-05-17 20:08:49 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-05-31 18:45:10 +0200 |
commit | f3a1aad9a448e40d4833913cbd50aeec538a74fe (patch) | |
tree | a603ca10379cb066700953d6d112f86736a164ba /drivers/vhost/vsock.c | |
parent | vhost-scsi: drop flush after vhost_dev_cleanup (diff) | |
download | linux-f3a1aad9a448e40d4833913cbd50aeec538a74fe.tar.xz linux-f3a1aad9a448e40d4833913cbd50aeec538a74fe.zip |
vhost-test: drop flush after vhost_dev_cleanup
The flush after vhost_dev_cleanup is not needed because:
1. It doesn't do anything. vhost_dev_cleanup will stop the worker thread
so the flush call will just return since the worker has not device.
2. It's not needed. The comment about jobs re-queueing themselves does
not look correct because handle_vq does not requeue work.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220517180850.198915-8-michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vsock.c')
0 files changed, 0 insertions, 0 deletions