From patchwork Fri May 23 11:18:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 30759 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f72.google.com (mail-qg0-f72.google.com [209.85.192.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 096112066E for ; Fri, 23 May 2014 11:20:17 +0000 (UTC) Received: by mail-qg0-f72.google.com with SMTP id q108sf10642019qgd.3 for ; Fri, 23 May 2014 04:20:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=4r2GBNl3GwZKiGiNfobgNsO381+T7ssJU8wJQJ3Etuw=; b=eMGEiKz7wdL5ULv2L82QiB2jbCMdXDAeiVfMp7gi1c+Htu+McxRmNXwhrdlAiya2DJ 1nfvGh6SKEdA+ekl3Ix/KDQOECGhRJFn700fBveUnyXM+gofEiZsaauv3qtXuiw3GyAg wYbNYpblqgDsdTs9eDDpZbc62o4Y4h3gLj8hocLPFH4S0zqOPpUvREtBVv1QetAEufai rPYpm+k7R4Ozfxm7focHMHKNDls8SgF2duDl7GpvoiTaF9H/v5CcAFw3w+6vFuHJFBwx gECkNr/OfC5fXgU/FBOV8FahMQJORDiwmn9PSNyMw2FhksS+d91U8h6Ch9yk3gq5ssWT MBdA== X-Gm-Message-State: ALoCoQlnmqf4BWSsGkzNgFQYTurPDKe/u8tnI3s8mMsxlqKAgElhwvB1/hwW55DiT9oGutyFHR6T X-Received: by 10.236.89.114 with SMTP id b78mr1608246yhf.13.1400844016887; Fri, 23 May 2014 04:20:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.138 with SMTP id n10ls211519qgd.4.gmail; Fri, 23 May 2014 04:20:16 -0700 (PDT) X-Received: by 10.220.161.8 with SMTP id p8mr3615896vcx.4.1400844016798; Fri, 23 May 2014 04:20:16 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id q8si1434869vds.13.2014.05.23.04.20.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 04:20:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id id10so2647711vcb.20 for ; Fri, 23 May 2014 04:20:16 -0700 (PDT) X-Received: by 10.52.96.8 with SMTP id do8mr1892634vdb.4.1400844016708; Fri, 23 May 2014 04:20:16 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp22714vcb; Fri, 23 May 2014 04:20:16 -0700 (PDT) X-Received: by 10.66.150.169 with SMTP id uj9mr4997840pab.148.1400844015856; Fri, 23 May 2014 04:20:15 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qq2si3409584pbb.105.2014.05.23.04.20.15; Fri, 23 May 2014 04:20:15 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751537AbaEWLUO (ORCPT + 8 others); Fri, 23 May 2014 07:20:14 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:60885 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751452AbaEWLUN (ORCPT ); Fri, 23 May 2014 07:20:13 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so4021399pbb.36 for ; Fri, 23 May 2014 04:20:13 -0700 (PDT) X-Received: by 10.66.149.102 with SMTP id tz6mr5019316pab.76.1400844013274; Fri, 23 May 2014 04:20:13 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id bu1sm4175889pbb.54.2014.05.23.04.20.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 04:20:12 -0700 (PDT) From: Sachin Kamat To: devicetree@vger.kernel.org Cc: grant.likely@linaro.org, robh+dt@kernel.org, f.fainelli@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 1/1] of_mdio: Remove unused variable Date: Fri, 23 May 2014 16:48:02 +0530 Message-Id: <1400843883-28399-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , max_speed is no longer used. Remove it. Signed-off-by: Sachin Kamat --- drivers/of/of_mdio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index b85709458639..7c6e277cdd1f 100644 --- a/drivers/of/of_mdio.c +++ b/drivers/of/of_mdio.c @@ -46,7 +46,6 @@ static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *chi struct phy_device *phy; bool is_c45; int rc; - u32 max_speed = 0; u32 phy_id; is_c45 = of_device_is_compatible(child,