diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2023-08-14 22:03:39 +0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-08-17 11:58:57 -0700 |
commit | 1f8403953f05af591ab72cf749b9b9b837ea9595 (patch) | |
tree | ba1d801260760327371f6ea6d06b49fba11ed2bf /include/linux/kvm_host.h | |
parent | 3e1efe2b67d3d38116ec010968dbcd89d29e4561 (diff) | |
download | lwn-1f8403953f05af591ab72cf749b9b9b837ea9595.tar.gz lwn-1f8403953f05af591ab72cf749b9b9b837ea9595.zip |
KVM: Remove unused kvm_device_{get,put}() declarations
Commit 07f0a7bdec5c ("kvm: destroy emulated devices on VM exit") removed the
functions but not these declarations.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20230814140339.47732-1-yuehaibing@huawei.com
[sean: split to separate patch]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 9125d0ab642d..a973a7cb45e0 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -2152,8 +2152,6 @@ struct kvm_device_ops { int (*mmap)(struct kvm_device *dev, struct vm_area_struct *vma); }; -void kvm_device_get(struct kvm_device *dev); -void kvm_device_put(struct kvm_device *dev); struct kvm_device *kvm_device_from_filp(struct file *filp); int kvm_register_device_ops(const struct kvm_device_ops *ops, u32 type); void kvm_unregister_device_ops(u32 type); |