From: Omar Ramirez Luna Date: Wed, 1 Dec 2010 20:15:08 +0000 (-0600) Subject: OMAP: mailbox: remove unreachable return X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d783731c683161d5d921c2ed03a43d6d31cf418;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git OMAP: mailbox: remove unreachable return Remove unreachable return statement. Signed-off-by: Omar Ramirez Luna Acked-by: Benoit Cousson Acked-by: Hiroshi Doyu --- diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index 40ddecab93a9..02ab0cb43459 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -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)