powerpc/gamecube/wii: delete unneeded test before of_node_put
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 8 Aug 2014 10:07:48 +0000 (12:07 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 9 Nov 2014 22:59:35 +0000 (09:59 +1100)
commit6609ed14de75bde7a99b33e9be9f1873da91f07d
treed7a9a840854170c4d14b85bc8cb56ca6cd2df65c
parent498b65147247f61f3f7f4deb35484ff98556e798
powerpc/gamecube/wii: delete unneeded test before of_node_put

Simplify the error path to avoid calling of_node_put when it is not needed.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c