From patchwork Mon Oct 25 18:38:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: omar ramirez X-Patchwork-Id: 267712 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9PImtRM006901 for ; Mon, 25 Oct 2010 18:48:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759382Ab0JYSsx (ORCPT ); Mon, 25 Oct 2010 14:48:53 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:39343 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751380Ab0JYSsw (ORCPT ); Mon, 25 Oct 2010 14:48:52 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o9PImjGl021848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Oct 2010 13:48:45 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id o9PImj2O012378; Mon, 25 Oct 2010 13:48:45 -0500 (CDT) Received: from localhost (bacab.am.dhcp.ti.com [128.247.77.143]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o9PImif21942; Mon, 25 Oct 2010 13:48:44 -0500 (CDT) From: Omar Ramirez Luna To: Hiroshi DOYU Cc: Tony Lindgren , Felipe Contreras , Suman Anna , linux-omap , Omar Ramirez Luna Subject: [PATCH] omap: mailbox: remove unreachable return Date: Mon, 25 Oct 2010 13:38:41 -0500 Message-Id: <1288031921-14736-1-git-send-email-omar.ramirez@ti.com> X-Mailer: git-send-email 1.7.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 25 Oct 2010 18:48:56 +0000 (UTC) diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index a0af532..7dc9fa6 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -437,8 +437,6 @@ static int __devinit omap2_mbox_probe(struct platform_device *pdev) return ret; } return 0; - - return ret; } static int __devexit omap2_mbox_remove(struct platform_device *pdev)