]> git.proxmox.com Git - mirror_qemu.git/commit
spapr: Abolish DRC get_fdt method
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 1 Jun 2017 00:36:24 +0000 (10:36 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 5 Jun 2017 22:53:24 +0000 (08:53 +1000)
commit88af6ea5687b1fdad47dad44eb9ff67c459c7dcc
tree33b980224c4ab8a41e7fdf39a8a7f99d8bdadf20
parentb89b3d39299559bc7bf7030e55f99c75dab70b2b
spapr: Abolish DRC get_fdt method

The DRConnectorClass includes a get_fdt method.  However
  * There's only one implementation, and there's only likely to ever be one
  * Both callers are local to spapr_drc
  * Each caller only uses one half of the actual implementation

So abolish get_fdt() entirely, and just open-code what we need.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Daniel Barboza <danielhb@linux.vnet.ibm.com>
hw/ppc/spapr_drc.c
include/hw/ppc/spapr_drc.h