Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3834076pxb; Tue, 26 Jan 2021 06:07:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZjnzbQ2bmEuwidrngDeH3wqX3I6aOFsni3vbWMXWzm9YUCel2ReyOr950Pe6Ty7wLszNE X-Received: by 2002:aa7:db1a:: with SMTP id t26mr4965158eds.25.1611670030260; Tue, 26 Jan 2021 06:07:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611670030; cv=none; d=google.com; s=arc-20160816; b=fkwfYTURholO4BKAiE5cx2Uch9+pwJW/H5AJf+0+hqyRkMex6eKXnZiel5c2QNwne4 8tuh5uXOa17+j2paZB9rgLb+lxvCxvXo8OX9EUhkAKQ/NUFD7q6DXc2M3z1VPtcOQzTt g0Qq8+RM3aZslQGtwv85vsAzAR8bCP74ZyiQm63MnfeU3pHcElhwwIXlgcURtWiXj4/L /qnmnItEu0AA3Y5XrEjGej1jrUXVZVxI5gDD5g8pD2OdavSh9FfRXIfsdagupP2pr8RM iXl1bDl7aFFgTYVB8Ywd6crIezFJeiWRsJ1/sW0hfGnS3t6uBQ0Y6Uokm39qkS/0TLvW j58Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iCgywgUomaAnl88OTPiAxB3oreK05N2B2YVxS1nEzMQ=; b=MWEeNP6O58elVoPeiU0kTUwvkuseW5RbAkh/+rX0MbNJJpc1xmzShtzDfmFFOZTdBx RNJwsOSiV+NQFsWVJTGWKB5P5evBA9c93JfSHUBL5CKqCwsGbOkIeCYwcIzgMpjDfM8g b9LdqTkPbYNDrOMawf+bAOmqKb1OZ/1nBTzYuAQYrXo/kClaqsULRVVEoiLG4QFDMIB/ jtdrDFmhssztltaREDNESuwHiwk6qnXIvMzX03lBeEoyBbyza4bIesA+ETq41emtGaBw Bqp6LNWZTUqhdBwG3gdkW7KypUYP4O8AqiWu6CwVwwWEGeBZPBPOWfZXPY1nwVk3LaE9 OVmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wk6YedfY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si7227970ejp.327.2021.01.26.06.06.43; Tue, 26 Jan 2021 06:07:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wk6YedfY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405684AbhAZOD2 (ORCPT + 99 others); Tue, 26 Jan 2021 09:03:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405655AbhAZODI (ORCPT ); Tue, 26 Jan 2021 09:03:08 -0500 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19C53C061D73 for ; Tue, 26 Jan 2021 06:02:20 -0800 (PST) Received: by mail-oi1-x22b.google.com with SMTP id m13so10593778oig.8 for ; Tue, 26 Jan 2021 06:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=iCgywgUomaAnl88OTPiAxB3oreK05N2B2YVxS1nEzMQ=; b=Wk6YedfYeIdh3B/aXqkiWd6jXJC/L9Xs3uQZxUwft+3BQ/Peu2TtUYn/LXjc3bmDOI eQcZRP7RseyuMJItspflzmBA6VeOCkUF1Q+3HpVlWu4sMQLZk9zh3qShDXc67Z9ohYdD 146HJSTmJhzeeSVorlgOGJ84lTurhdCK+koPVctLPOysU3HzWAL6H+hYO8H+iS3cQ/wN 3hriQJkXOT2X6hv6fC5DUj9sfTGWcnU9HEMU7plJuNsOGFtPmkwxWa/qR9oxzfzlaskd OPb4GIERodd0JzJ9Amq9lYVV4WychNCeruHndm8LtHuciHoNnYEFdrKYBaIIAxL0ulGs e6hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=iCgywgUomaAnl88OTPiAxB3oreK05N2B2YVxS1nEzMQ=; b=RmoZlA+cl6M1ZMJRuVbforhO1Vh/++j/qmC3LvjWTbnpYtoVC1IoEhsCb/OKMHbC9x hIPhqs6eiyMKDQiHlbATSRg9Nzjm5/ZTRwNf+/WlZ2/crppwLOlyM8Eet/HX6Np6dTTM og+g7M66I4Yoiq1PtNzNRvdcStVS4SuO0jZ2KKOdKpmtsw3MVEY9w+ChIpCaOPiAdnzo uUwC+w4VcMhNu4UpA2Z/kFa86o7Y/xawqZNuG4GIKZTPiLGbT1nwdPzYHIGT7Tun4xMk 7LBzTOkRo0nzfvI6sUnIAJwOMo+3H2WLwcCT8BmI78Uxx4kBAXbyDCFzW2APDN4bB45E 29Jg== X-Gm-Message-State: AOAM533EV8Aso/EYl8ARkg8Zf4ntyvEg78Y4IWDOg1RJpwXwG97JNnGF 6/w3eWNC19entwKJNCuDNMwxkA== X-Received: by 2002:aca:4e4f:: with SMTP id c76mr3280084oib.167.1611669739503; Tue, 26 Jan 2021 06:02:19 -0800 (PST) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id a188sm1902234oif.11.2021.01.26.06.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 06:02:18 -0800 (PST) Date: Tue, 26 Jan 2021 08:02:17 -0600 From: Bjorn Andersson To: Lee Jones Cc: linux-kernel@vger.kernel.org, Andy Gross , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 16/21] clk: qcom: mmcc-msm8974: Remove unused static const tables 'mmcc_xo_mmpll0_1_2_gpll0{map}' Message-ID: <20210126140217.GE1241218@yoga> References: <20210126124540.3320214-1-lee.jones@linaro.org> <20210126124540.3320214-17-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210126124540.3320214-17-lee.jones@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 26 Jan 06:45 CST 2021, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/clk/qcom/mmcc-msm8974.c:85:27: warning: ?mmcc_xo_mmpll0_1_2_gpll0? defined but not used [-Wunused-const-variable=] > drivers/clk/qcom/mmcc-msm8974.c:77:32: warning: ?mmcc_xo_mmpll0_1_2_gpll0_map? defined but not used [-Wunused-const-variable=] > > Cc: Andy Gross > Cc: Bjorn Andersson > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-arm-msm@vger.kernel.org > Cc: linux-clk@vger.kernel.org Reviewed-by: Bjorn Andersson > Signed-off-by: Lee Jones > --- > drivers/clk/qcom/mmcc-msm8974.c | 16 ---------------- > 1 file changed, 16 deletions(-) > > diff --git a/drivers/clk/qcom/mmcc-msm8974.c b/drivers/clk/qcom/mmcc-msm8974.c > index 015426262d080..a1552b6771bc6 100644 > --- a/drivers/clk/qcom/mmcc-msm8974.c > +++ b/drivers/clk/qcom/mmcc-msm8974.c > @@ -74,22 +74,6 @@ static const char * const mmcc_xo_mmpll0_dsi_hdmi_gpll0[] = { > "dsi1pll", > }; > > -static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = { > - { P_XO, 0 }, > - { P_MMPLL0, 1 }, > - { P_MMPLL1, 2 }, > - { P_GPLL0, 5 }, > - { P_MMPLL2, 3 } > -}; > - > -static const char * const mmcc_xo_mmpll0_1_2_gpll0[] = { > - "xo", > - "mmpll0_vote", > - "mmpll1_vote", > - "mmss_gpll0_vote", > - "mmpll2", > -}; > - > static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = { > { P_XO, 0 }, > { P_MMPLL0, 1 }, > -- > 2.25.1 >