[POWERPC] pseries: Simplify rtasd initialization
authorLinas Vepstas <linas@austin.ibm.com>
Wed, 8 Aug 2007 20:03:37 +0000 (06:03 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:52 +0000 (11:01 +1000)
commit4511dad42a8da41fc2f5a58066c519c2228896ac
tree9bff1d822ef8fce1f146346043642d57d559553c
parentba28cc09316510aacb17f8421fdaae37969a4d5b
[POWERPC] pseries: Simplify rtasd initialization

Simplify rtasd initialization code; this also fixes a buglet,
where the /proc entries weren't being cleaned up in case of
failure.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
----
 arch/powerpc/platforms/pseries/rtasd.c |   53 +++++++++++----------------------
 1 file changed, 19 insertions(+), 34 deletions(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/rtasd.c