David Gibson a8dc47fd82 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>
2017-07-17 15:07:05 +10:00
..
2016-10-04 13:28:07 +01:00
2017-07-14 12:16:09 +01:00
2017-06-02 11:33:53 +04:00
2017-07-14 12:16:09 +01:00
2017-07-14 12:16:09 +01:00
2017-06-02 14:07:53 +01:00
2017-07-14 12:16:09 +01:00
2017-07-14 12:29:49 +02:00
2016-05-18 15:04:27 +03:00
2017-01-27 18:07:59 +01:00
2017-07-14 12:04:43 +02:00
2017-07-14 12:16:09 +01:00
2017-07-13 13:45:53 +02:00
2017-07-14 12:16:09 +01:00
2016-01-29 15:07:25 +00:00
2017-07-17 15:07:05 +10:00
2017-07-14 12:16:09 +01:00
2017-06-05 10:09:14 +01:00
2017-06-04 18:42:55 +03:00
2017-06-27 15:09:15 +02:00
2016-10-28 18:17:24 +03:00
2017-07-14 12:16:09 +01:00