Re: [Qemu-devel] [PATCH 4/4] spapr: Make DRC get_index and get_type methods into plain functions

2017-06-01 Thread Laurent Vivier
On 01/06/2017 03:52, David Gibson wrote: > These two methods only have one implementation, and the spec they're > implementing means any other implementation is unlikely, verging on > impossible. > > So replace them with simple functions. > > Signed-off-by: David Gibson

[Qemu-devel] [PATCH 4/4] spapr: Make DRC get_index and get_type methods into plain functions

2017-05-31 Thread David Gibson
These two methods only have one implementation, and the spec they're implementing means any other implementation is unlikely, verging on impossible. So replace them with simple functions. Signed-off-by: David Gibson --- hw/ppc/spapr.c | 13 +++---