diff mbox series

[-next] kvm_host: Remove unused declarations kvm_device_get()/kvm_device_put()

Message ID 20230803133944.25676-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] kvm_host: Remove unused declarations kvm_device_get()/kvm_device_put() | expand

Commit Message

Yue Haibing Aug. 3, 2023, 1:39 p.m. UTC
Commit 07f0a7bdec5c ("kvm: destroy emulated devices on VM exit") removed the
function but leave these declarations.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/linux/kvm_host.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 9d3ac7720da9..c57e6ca8f8e5 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -2148,8 +2148,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);