aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/8xx/pic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/8xx/pic.c b/arch/powerpc/platforms/8xx/pic.c
index 8d5a25d43ef3..e9617d35fd1f 100644
--- a/arch/powerpc/platforms/8xx/pic.c
+++ b/arch/powerpc/platforms/8xx/pic.c
@@ -153,10 +153,9 @@ int mpc8xx_pic_init(void)
153 if (mpc8xx_pic_host == NULL) { 153 if (mpc8xx_pic_host == NULL) {
154 printk(KERN_ERR "MPC8xx PIC: failed to allocate irq host!\n"); 154 printk(KERN_ERR "MPC8xx PIC: failed to allocate irq host!\n");
155 ret = -ENOMEM; 155 ret = -ENOMEM;
156 goto out;
157 } 156 }
158 return 0;
159 157
158 ret = 0;
160out: 159out:
161 of_node_put(np); 160 of_node_put(np);
162 return ret; 161 return ret;