diff options
| author | David Gibson | 2017-07-04 13:07:14 +0200 |
|---|---|---|
| committer | David Gibson | 2017-07-17 07:07:05 +0200 |
| commit | a8dc47fd8249cca45f6314bfd8cf195dc3fbd36b (patch) | |
| tree | 342ee6f852a3984bb14f779885da2eeda02f7658 /scripts | |
| parent | spapr: Abort on delete failure in spapr_drc_release() (diff) | |
| download | qemu-a8dc47fd8249cca45f6314bfd8cf195dc3fbd36b.tar.gz qemu-a8dc47fd8249cca45f6314bfd8cf195dc3fbd36b.tar.xz qemu-a8dc47fd8249cca45f6314bfd8cf195dc3fbd36b.zip | |
spapr: Refactor spapr_drc_detach()
This function has two unused parameters - remove them.
It also sets awaiting_release on all paths, except one. On that path
setting it is harmless, since it will be immediately cleared by
spapr_drc_release(). So factor it out of the if statements.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Daniel Barboza <danielhb@linux.vnet.ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
