]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: remove avail_event arg from vhost_update_avail_event()
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 13 Jan 2022 14:11:34 +0000 (15:11 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2022 11:06:50 +0000 (06:06 -0500)
commita19ac9b339daf283bba782bc93b9b2b4d22c184a
treecc7612a30e7e76eb48741d06b40a09d0a8d2961e
parent0f9258a7fcca953ead9cc58613f8810c7d56f3fb
vhost: remove avail_event arg from vhost_update_avail_event()

In vhost_update_avail_event() we never used the `avail_event` argument,
since its introduction in commit 7cf748b63afb ("vhost: set log when
updating used flags or avail event").

Let's remove it to clean up the code.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20220113141134.186773-1-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c