From: Omar Ramirez Luna Date: Wed, 1 Dec 2010 20:15:08 +0000 (-0600) Subject: OMAP: mailbox: remove unreachable return X-Git-Tag: MMI-PSA29.97-13-9~21439^2~19^2^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d783731c683161d5d921c2ed03a43d6d31cf418;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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)