diff options
author | Cornelia Huck <cohuck@redhat.com> | 2018-02-23 11:13:45 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2018-02-26 12:55:26 +0100 |
commit | 3e65a3c283ae36c1f27141f71d2bb040737b1390 (patch) | |
tree | b0fc591db2fbd53d4285ac06bb06a740bb96d2d1 /target/s390x/cpu.c | |
parent | 82fab5c5b90e468f3e9d54cd614c89d9416d18cd (diff) |
s390x: remove s390_get_memslot_count
Not needed anymore after removal of the memory hotplug code.
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/cpu.c')
-rw-r--r-- | target/s390x/cpu.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c index f02ed19c70..627002b225 100644 --- a/target/s390x/cpu.c +++ b/target/s390x/cpu.c @@ -437,15 +437,6 @@ void s390_cmma_reset(void) } } -int s390_get_memslot_count(void) -{ - if (kvm_enabled()) { - return kvm_s390_get_memslot_count(); - } else { - return MAX_AVAIL_SLOTS; - } -} - int s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch_id, int vq, bool assign) { |