Skip to content
Commit f6f93f75 authored by 夷则(Caspar)'s avatar 夷则(Caspar) Committed by Michael S. Tsirkin
Browse files

vhost: remove unused lock check flag in vhost_dev_cleanup()



In commit ea5d4046 ("vhost: fix release path lockdep checks"),
Michael added a flag to check whether we should hold a lock in
vhost_dev_cleanup(), however, in commit 47283bef ("vhost: move
memory pointer to VQs"), RCU operations have been replaced by
mutex, we can remove the no-longer-used `locked' parameter now.

Signed-off-by: default avatarCaspar Zhang <jinli.zjl@alibaba-inc.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent ac964d7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment