Browse Source

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>
Omar Ramirez Luna 14 years ago
parent
commit
5d783731c6
1 changed files with 1 additions and 2 deletions
  1. 1 2
      arch/arm/mach-omap2/mailbox.c

+ 1 - 2
arch/arm/mach-omap2/mailbox.c

@@ -432,9 +432,8 @@ static int __devinit omap2_mbox_probe(struct platform_device *pdev)
 		iounmap(mbox_base);
 		iounmap(mbox_base);
 		return ret;
 		return ret;
 	}
 	}
-	return 0;
 
 
-	return ret;
+	return 0;
 }
 }
 
 
 static int __devexit omap2_mbox_remove(struct platform_device *pdev)
 static int __devexit omap2_mbox_remove(struct platform_device *pdev)