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-11 11:21:26 +01:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-03-15 20:50:14 -04:00
2017-06-23 11:51:50 +02:00
2016-05-18 15:04:27 +03:00
2017-06-20 14:31:32 +02:00
2013-04-08 18:13:10 +02:00
2017-07-11 11:18:37 +03:00
2017-07-03 22:29:49 +03:00
2017-07-17 15:07:05 +10:00
2017-02-28 17:10:00 +00:00
2017-01-27 18:07:59 +01:00
2017-06-06 20:18:35 +02:00
2017-01-27 18:07:59 +01:00
2017-06-28 11:18:39 +02:00
2017-04-24 12:32:12 +01:00
2017-06-01 18:49:22 +02:00
2014-10-23 16:41:25 +02:00
2017-02-28 12:04:48 +01:00
2013-04-08 18:13:10 +02:00