From patchwork Tue Jul 13 05:47:03 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 111666 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6D5lTqQ014115 for ; Tue, 13 Jul 2010 05:47:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752143Ab0GMFr0 (ORCPT ); Tue, 13 Jul 2010 01:47:26 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:55454 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751804Ab0GMFrY (ORCPT ); Tue, 13 Jul 2010 01:47:24 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o6D5lF1t000859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Jul 2010 00:47:17 -0500 Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o6D5l82m013695; Tue, 13 Jul 2010 11:17:08 +0530 (IST) Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by linfarm476.india.ti.com (8.12.11/8.12.11) with ESMTP id o6D5l8Oj024126; Tue, 13 Jul 2010 11:17:08 +0530 Received: (from a0393109@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id o6D5l8gq024123; Tue, 13 Jul 2010 11:17:08 +0530 From: Thara Gopinath To: linux-omap@vger.kernel.org Cc: khilman@deeprootsystems.com, paul@pwsan.com, tony@atomide.com, b-cousson@ti.com, sawant@ti.com, vishwanath.bs@ti.com, premi@ti.com, Thara Gopinath Subject: [PM-OPP][PATCH 1/4] OMAP: Fix the compilation warning in the opp layer Date: Tue, 13 Jul 2010 11:17:03 +0530 Message-Id: <1279000026-24042-2-git-send-email-thara@ti.com> X-Mailer: git-send-email 1.5.6.6 In-Reply-To: <1279000026-24042-1-git-send-email-thara@ti.com> References: <1279000026-24042-1-git-send-email-thara@ti.com> 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 (demeter.kernel.org [140.211.167.41]); Tue, 13 Jul 2010 05:47:29 +0000 (UTC) diff --git a/arch/arm/plat-omap/opp.c b/arch/arm/plat-omap/opp.c index 0273497..a06b88d 100644 --- a/arch/arm/plat-omap/opp.c +++ b/arch/arm/plat-omap/opp.c @@ -402,8 +402,6 @@ int opp_add(const struct omap_opp_def *opp_def) */ int opp_enable(struct omap_opp *opp) { - struct device_opp *dev_opp; - if (unlikely(!opp || IS_ERR(opp))) { pr_err("%s: Invalid parameters being passed\n", __func__); return -EINVAL;