spapr: cleanup spapr_fixup_cpu_numa_dt() usage
commit99861ecbc53c705fff5e4ea774f0da1193e81da8
authorIgor Mammedov <imammedo@redhat.com>
Tue, 30 May 2017 16:24:01 +0000 (30 18:24 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 5 Jun 2017 17:59:09 +0000 (5 14:59 -0300)
tree5757e62ea06b72ac4cdac6a2af90ca2be8ca462a
parent15f8b14228b856850df3fa5ba999ad96521f2208
spapr: cleanup spapr_fixup_cpu_numa_dt() usage

even though spapr_fixup_cpu_numa_dt() has no effect on FDT
if numa is disabled, don't call it uselessly. It makes it
obvious at call sites that function is needed only when numa
is enabled.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1496161442-96665-7-git-send-email-imammedo@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ppc/spapr.c