From patchwork Tue Jan 26 12:45:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 370628 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp4961847jam; Tue, 26 Jan 2021 05:10:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVt/9G3N2BB/RyGl/VJlbCj0APHvAUN4HohxptjYDqg5LjBVZ/+iWsyonaOkwY9p+AaZXG X-Received: by 2002:aa7:d2d4:: with SMTP id k20mr4428602edr.361.1611666650827; Tue, 26 Jan 2021 05:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611666650; cv=none; d=google.com; s=arc-20160816; b=X1PDslxDsn7U6l7kgv9uP7hy1MuXA3ZbyOOBlUG1MbYbv91XWRg/3CHr5bSajuTyb5 cHrShUssv3VUdd+dPLbC6qYv/QwiBn0/1AWw46dzD1iw2ucFa1cnJNIqL8xSr6uRqCpA Us4oyQSRVPmUemjk3nr4dH2b+VW68mZZPp/bAfvqkFqXMRpb9rCARQkeJbkzRmdNfmQ/ hSY43mN5lRS6ZJtLCloq4bFZHxk3FMB9eB+SzA88FiuLdskJ4s8xve3/hD6fIxz/sPgA 1tCYyNag5vsxkIxWQ2uMKr2Rms/ERYoW+MTVQYte4/sAmAgdUySw9P/8DJsrrUDQlGQQ mZTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Vsa1KLPM2HfEp5vPRGS+UCgmT+VY3fPWtM+ipeYcvaE=; b=OWNksJY2k4fCgNVzk2/1epD09A5KtutEzQc+Tb8c5liv0oP1bVDyPuM+rEBpnnIxW9 J6/tWAryldaaT9EkNz9/w2ZjZNbM8KqgAMbEJ95XkFWPeDVUucGzhqxaQJa1xtK9JGKd fHw+eKTPgl4G00gVqr/TTTB1I/NsQo5lKggg3+pGY7FhfvvZvLKCMjOXGMmBmBSCvZuF qt0lbNYhzf9gLY5vylnvCRXH1eKaYZt8T42oAgd+TXhWbZL6pL2lB/5AESsep1Irmoju i1edka36+oKOPWILEj8vFgCViHtOsPmpnJzYl+qw1ylVmUxvbO6VS4WuMS+ETqvG7jR3 VV/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ubNNa5o9; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 n17si7137527eji.245.2021.01.26.05.10.50; Tue, 26 Jan 2021 05:10:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-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=ubNNa5o9; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S2391691AbhAZNJU (ORCPT + 15 others); Tue, 26 Jan 2021 08:09:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403943AbhAZMsq (ORCPT ); Tue, 26 Jan 2021 07:48:46 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E92D9C0698FE for ; Tue, 26 Jan 2021 04:46:04 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id p15so9652193wrq.8 for ; Tue, 26 Jan 2021 04:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vsa1KLPM2HfEp5vPRGS+UCgmT+VY3fPWtM+ipeYcvaE=; b=ubNNa5o9m+gajTa5oKlGyu7B8gwi4nKoh16thJTW4WeFwRg1FKFeybQ9F+rIJulvaq EBfVO029Q4zaQwtL72rs90nuQLE7qUC254lKleHwmU2gYBcRoNvPjCCmN809zdwh/cYg nuTuk7O6VJ5r1Aectu/nUjCx7mj5cP2Av5If4PjQxp0iG/CE6S9ZF1zyADLrz97pGBhe 8ogTNVz3DObwZ44MF+xEI5iPC8MwLjcDi2wxCQbsL5y49kSP2i9UWsjJCU5WqqspQVfL 1h5+sY7XSdE72Mk4ujGNvdlCQBrssRRUo4ciOaaqWZABEL4HNRxtizPvRLPPQJgfJUo1 CNqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Vsa1KLPM2HfEp5vPRGS+UCgmT+VY3fPWtM+ipeYcvaE=; b=DVoi/K9H1LGSjoUc5c3QYnrK8lbrLqLi2l72IWZD8t5Qiv/T0ZiJF2oqRBLSXDGbnv Hznk4BGydiRA0MzSFmSn8adeuHfKsZRhfNzoL0TIcxq0bKyUaJwpHswDbrC2rTzJ/+Wm HxvwH3vx74z9lOYfZd8NiDhD02On5dF3M9YgjrPJIWkwjBaIq7Z9bOIOCJ6ojDTVyf4f Q8Sr6/ckOHGxVsus9Wz4AOcJI3Ea1WKJcXNqV8lkFDZrl9Rr1r3CJGd0ZoNgbK2ktE3d u+IVTHWXC/UqMODthRCqdqVLJ3XWtwVM9lzK8XIAz9Jstvlqaz85cwRqU0ntE/1L3iXm 9PuQ== X-Gm-Message-State: AOAM531mOoLcuUGBlqs/ef0Nm7yNkKyagH0XGtvE3flfapdTZXcS5aQ1 IpLBto8m1WQ0oc4PRO3W+MsB5g== X-Received: by 2002:adf:ecd2:: with SMTP id s18mr3963512wro.311.1611665163634; Tue, 26 Jan 2021 04:46:03 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:46:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 16/21] clk: qcom: mmcc-msm8974: Remove unused static const tables 'mmcc_xo_mmpll0_1_2_gpll0{map}' Date: Tue, 26 Jan 2021 12:45:35 +0000 Message-Id: <20210126124540.3320214-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 Signed-off-by: Lee Jones --- drivers/clk/qcom/mmcc-msm8974.c | 16 ---------------- 1 file changed, 16 deletions(-) -- 2.25.1 Reviewed-by: Bjorn Andersson 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 },