aboutsummaryrefslogtreecommitdiff
path: root/disas/arm.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2017-07-04 21:07:14 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2017-07-17 15:07:05 +1000
commita8dc47fd8249cca45f6314bfd8cf195dc3fbd36b (patch)
tree342ee6f852a3984bb14f779885da2eeda02f7658 /disas/arm.c
parentba50822ff835c197563423b688afc6d0fe50f7d0 (diff)
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 'disas/arm.c')
0 files changed, 0 insertions, 0 deletions