diff options
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r-- | target-s390x/cpu.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index d63eb51186..c20ef05136 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -1215,11 +1215,7 @@ static inline int s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch_id, int vq, bool assign) { - if (kvm_enabled()) { - return kvm_s390_assign_subch_ioeventfd(notifier, sch_id, vq, assign); - } else { - return -ENOSYS; - } + return kvm_s390_assign_subch_ioeventfd(notifier, sch_id, vq, assign); } #ifdef CONFIG_KVM |