spapr: Abolish DRC set_configured method
commit4f65ce00ab9b059ed1aadc18718760ffd0c60a68
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 2 Jun 2017 03:36:10 +0000 (2 13:36 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 5 Jun 2017 22:53:24 +0000 (6 08:53 +1000)
tree012f5f3e4f584ea9a65ab584d3bb329f2eda07d1
parent88af6ea5687b1fdad47dad44eb9ff67c459c7dcc
spapr: Abolish DRC set_configured method

DRConnectorClass has a set_configured method, however:
  * There is only one implementation, and only ever likely to be one
  * There's exactly one caller, and that's (now) local
  * The implementation is very straightforward

So abolish the method 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