diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2017-06-02 13:49:20 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-06-06 08:53:24 +1000 |
commit | 0b55aa91c976b30b527c123fb66d25f5db43d083 (patch) | |
tree | a7dbaf524ccba80cbfda61525ba8b59567db20c6 /qemu-bridge-helper.c | |
parent | 4f65ce00ab9b059ed1aadc18718760ffd0c60a68 (diff) | |
download | qemu-0b55aa91c976b30b527c123fb66d25f5db43d083.zip qemu-0b55aa91c976b30b527c123fb66d25f5db43d083.tar.gz qemu-0b55aa91c976b30b527c123fb66d25f5db43d083.tar.bz2 |
spapr: Make DRC get_index and get_type methods into plain functions
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 <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Tested-by: Daniel Barboza <danielhb@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions