aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrey Ryabinin <[email protected]>2022-05-17 13:08:46 -0500
committerMichael S. Tsirkin <[email protected]>2022-05-31 12:45:10 -0400
commitc5514758ddd9a774d879b098bf7364c45a76bed5 (patch)
treed41ccdc048c762b7a6ecc3501ce00a4ba1bdade3 /tools/perf/scripts/python
parent2c029f3298594c5160ae1036f03db607fa891484 (diff)
vhost_test: remove vhost_test_flush_vq()
vhost_test_flush_vq() just a simple wrapper around vhost_work_dev_flush() which seems have no value. It's just easier to call vhost_work_dev_flush() directly. Besides there is no point in obtaining vhost_dev pointer via 'n->vqs[index].poll.dev' while we can just use &n->dev. It's the same pointers, see vhost_test_open()/vhost_dev_init(). Signed-off-by: Andrey Ryabinin <[email protected]> Signed-off-by: Mike Christie <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Acked-by: Jason Wang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions