summaryrefslogtreecommitdiff
path: root/include/kvm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-07-01 14:07:55 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2023-07-01 14:07:55 +0300
commitd74669ebaeb6e5c786b939dc8c48cf7db9d44c84 (patch)
tree4deacd98f4e95c10ab10a0068586fed198221db9 /include/kvm
parentcc744042d90809ccb7cac7f9fb773f5c9cb9f835 (diff)
parentcc77b95acf3c7d9a24204b0555fed2014f300fd5 (diff)
downloadlinux-d74669ebaeb6e5c786b939dc8c48cf7db9d44c84.tar.xz
Merge tag 'kvm-x86-generic-6.5' of https://github.com/kvm-x86/linux into HEAD
Common KVM changes for 6.5: - Fix unprotected vcpu->pid dereference via debugfs - Fix KVM_BUG() and KVM_BUG_ON() macros with 64-bit conditionals - Refactor failure path in kvm_io_bus_unregister_dev() to simplify the code - Misc cleanups
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/iodev.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/kvm/iodev.h b/include/kvm/iodev.h
index d75fc4365746..56619e33251e 100644
--- a/include/kvm/iodev.h
+++ b/include/kvm/iodev.h
@@ -55,10 +55,4 @@ static inline int kvm_iodevice_write(struct kvm_vcpu *vcpu,
: -EOPNOTSUPP;
}
-static inline void kvm_iodevice_destructor(struct kvm_io_device *dev)
-{
- if (dev->ops->destructor)
- dev->ops->destructor(dev);
-}
-
#endif /* __KVM_IODEV_H__ */