]> 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)
commit8909c7ddfe19f67f0f131ffd3ee75bfab9cf1636
treecc7612a30e7e76eb48741d06b40a09d0a8d2961e
parentece8ac4c1ca53a1f660607373f645b4706a908c5
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 02a4222f6b5d ("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