Re: [Qemu-devel] [PATCH 2/7] spapr: Abolish DRC get_name method

2017-06-06 Thread Michael Roth
Quoting David Gibson (2017-06-06 03:32:16) > DRConnectorClass has a get_name method, however: > * There's only one implementation, and only ever likely to be one > * There's exactly one caller, which is (now) local > * The implementation is trivial > > So just open-code what we need. > > Si

[Qemu-devel] [PATCH 2/7] spapr: Abolish DRC get_name method

2017-06-06 Thread David Gibson
DRConnectorClass has a get_name method, however: * There's only one implementation, and only ever likely to be one * There's exactly one caller, which is (now) local * The implementation is trivial So just open-code what we need. Signed-off-by: David Gibson --- hw/ppc/spapr_drc.c