OMAP: mailbox: remove unreachable return
authorOmar Ramirez Luna <omar.ramirez@ti.com>
Wed, 1 Dec 2010 20:15:08 +0000 (14:15 -0600)
committerHari Kanigeri <h-kanigeri2@ti.com>
Thu, 2 Dec 2010 11:43:16 +0000 (05:43 -0600)
Remove unreachable return statement.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Acked-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Hiroshi Doyu <hiroshi.doyu@nokia.com>
arch/arm/mach-omap2/mailbox.c

index 40ddecab93a9b42694216619cb4fa9834e50eb69..02ab0cb4345930505a0af382db6ca0c72d50a2c6 100644 (file)
@@ -432,9 +432,8 @@ static int __devinit omap2_mbox_probe(struct platform_device *pdev)
                iounmap(mbox_base);
                return ret;
        }
-       return 0;
 
-       return ret;
+       return 0;
 }
 
 static int __devexit omap2_mbox_remove(struct platform_device *pdev)