summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/mailbox.c
diff options
context:
space:
mode:
authorOmar Ramirez Luna <omar.ramirez@ti.com>2010-12-01 14:15:08 -0600
committerHari Kanigeri <h-kanigeri2@ti.com>2010-12-02 05:43:16 -0600
commit5d783731c683161d5d921c2ed03a43d6d31cf418 (patch)
tree7d467d2ef2bfaff8c818d33f61aa16e59afba954 /arch/arm/mach-omap2/mailbox.c
parent582563074a691eb45cb22d2eca70eed8f2091c5f (diff)
OMAP: mailbox: remove unreachable return
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>
Diffstat (limited to 'arch/arm/mach-omap2/mailbox.c')
-rw-r--r--arch/arm/mach-omap2/mailbox.c3
1 files changed, 1 insertions, 2 deletions
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)