Message ID | 20201105034919.393653-3-david@gibson.dropbear.id.au |
---|---|
State | Accepted |
Commit | 184b813e7b1fe2dc27e7657befc907b5aac3b619 |
Headers | show |
Series | ppc-for-5.2 patch queue 2020-11-05 | expand |
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 227075103e..12a012d9dd 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -1522,12 +1522,6 @@ int spapr_reallocate_hpt(SpaprMachineState *spapr, int shift, Error **errp) int i; spapr->htab = qemu_memalign(size, size); - if (!spapr->htab) { - error_setg_errno(errp, errno, - "Could not allocate HPT of order %d", shift); - return -ENOMEM; - } - memset(spapr->htab, 0, size); spapr->htab_shift = shift;