Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1025771imm; Fri, 27 Jul 2018 09:57:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdxXK8Ny7Lnk+ZjU95pN/0QH7akNtfN+GUVrppeqyCJhq/tH3sSPvV8+czczwNhxfAu/Ob7 X-Received: by 2002:a63:f45:: with SMTP id 5-v6mr6971968pgp.447.1532710667911; Fri, 27 Jul 2018 09:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532710667; cv=none; d=google.com; s=arc-20160816; b=nPhAsNmRP4yyigdVtyMxfDNsyoHbGQ5k8TqapkTVYYWnLmIYji7RHuwGlsZQUUoH89 SRuh61FwXc61ajr9l9xDKjprv+lS00vNCrawbKl7W1YmEWWTWdvOn6wUn2KdVZkyBAwj bRChZU2tpplcb6ZTgxKha+5dCBpCzb1KAyP9ZFW/NsQhHTvS/uG2EY4LCG052VqGNpJg Dk7j9fxANFY1uLjO8aQ0PkH7xXeGPi9EdqVLFrJZkcbkzVLXRyapvkCVPDTHrTzhWg9d niZKSg6nEBN30tDma4ZYQDeZWyhF59gDFnvguP9A4FNILG6qMPLU90PikdUxF+3JXxp1 Xa2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=TD1mL+uKKlbUumyVDMlQtVzpG5Pw7+6GGU5l3EdK12k=; b=jeQoRw+Lc8jU+hVrJx3YJ9yDqVQEYot1Gwo7TiHfp4PQ2w+1wWBNqHKUOovzpGvaow Y8Q67bLpgEDscEOe3Nc39GQwwXvw/1dhVlLV9PoQ+uBDadTqfRsyldziyMmFc7r2f3vu 0GXb8c4lcoVt0tbO8XDg2Cyk4HMRBnRBfPbAai5ebAhhRAA4sqNIqMcsBuOqjHdE8Ouy 1qnf0ZGJvluOOlYUQtEUs8Q9769wOexxaKJLBGHRGlORMDNgjxA0YdqcwT04WfVa7Bbm VAccwkMigrILvkZA9xpGxZxfOdThYgHTTFPIkfVKabI9UHlgwx7sq4Dhp+EVky7hqF8q Sdug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1PHhfT85; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9-v6si4497117pfg.62.2018.07.27.09.57.33; Fri, 27 Jul 2018 09:57:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1PHhfT85; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388942AbeG0SSj (ORCPT + 99 others); Fri, 27 Jul 2018 14:18:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:53360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388760AbeG0SSi (ORCPT ); Fri, 27 Jul 2018 14:18:38 -0400 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6521F208B0; Fri, 27 Jul 2018 16:55:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532710554; bh=XHoGXdJ81a9DKZFayEsDnwTru4GGxig9aON/qi7lqvs=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=1PHhfT85a+3ZajN4mJaX98Dw4txL9lDTPWCtvejOZxtp54s7I7kDQABvisjqg0Jlp IEysVeuveFAOs02XZHvOxVcfbZyQ2iXV3KKvNMtCHBai58CoK3xPTlVbNJhvjb8/Qm EEdG75ROMz15rd07eUGooEN/z0KfBZfqzneXXx08= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Anders Roxell , gregory.clement@bootlin.com, mturquette@baylibre.com From: Stephen Boyd In-Reply-To: <20180726222721.5787-1-anders.roxell@linaro.org> Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell References: <20180726222721.5787-1-anders.roxell@linaro.org> Message-ID: <153271055369.48062.7965396244056342743@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH] clk: mvebu: armada-37xx-periph: Remove unused var num_parents Date: Fri, 27 Jul 2018 09:55:53 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Anders Roxell (2018-07-26 15:27:21) > When building armada-37xx-periph, num_parents isn't used in function > clk_pm_cpu_get_parent: > drivers/clk/mvebu/armada-37xx-periph.c: In function =E2=80=98clk_pm_cpu_g= et_parent=E2=80=99: > drivers/clk/mvebu/armada-37xx-periph.c:419:6: warning: unused variable = =E2=80=98num_parents=E2=80=99 [-Wunused-variable] > int num_parents =3D clk_hw_get_num_parents(hw); > ^~~~~~~~~~~ > Remove the declaration of num_parents to dispose the warning. > = > Fixes: 616bf80d381d ("clk: mvebu: armada-37xx-periph: Fix wrong return va= lue in get_parent") > Signed-off-by: Anders Roxell > --- Applied to clk-next