From patchwork Mon Jan 23 10:33:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 47111 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1537105wrn; Mon, 23 Jan 2023 02:47:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXu8diiApwd6fcNaPBOnZScpAaF6SqaMzxBlOnnNN6nGR2hhWCED8iyl/4mNsoqvzL5fIWNT X-Received: by 2002:a05:6a20:2d2b:b0:b8:841d:85bb with SMTP id g43-20020a056a202d2b00b000b8841d85bbmr32957903pzl.0.1674470877213; Mon, 23 Jan 2023 02:47:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674470877; cv=none; d=google.com; s=arc-20160816; b=NKtJaAELuFBXs6OYW9uia2byJcR2xTwGPDO+7VePNLoN9wVorRpurOhG4Z6W/OMsvi HpLcxcFuO21HeSs1xFq34uswP4FzmOunHddzLyoz/T9ebOCru35lSfEO72aQel8SPsmi PQkliBDurqdr7+EGW2rSDmjWOS5hb77smn9BImlDgcXt5ApYTH4XQj82CjSqxLCFrMYY MSV6ix3JgSeEiVOFUwq8K9fjd/2exvRE0WtEWqU0NBqSDRKQI1DOdcCT81Xq7si4DS/v 7GwkWHpz77BHFkmXdzZ39K6Cm03g7O6vqIHj0YYaC2ot3EKcrHnaPnETuw6sKvqMQC2o SRKw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6MMnzFkFz/mA+K9jC0tf0KwwFVsDs5pFYEiKF65a6jE=; b=xwVHbOFm2AgrgqikSKqtuWCJ7QK6e393xEjqNZ5J1BpCIfDgNDeFyGmn1b3JEKqVac SIwCNA1DWYKNw+mbl8MUYvVXNnMAcq/yXz5ETfzQvp9ZYhzw9csuY8J2FFZQ7qDmiiij ntg85ZW1PSOUfxkR328fmNPlD5EJBR/qhqTwgHY9ch6gx/x4F95Yrcx5aWJJqK12U5my oWwsQz/DVFW/jqG/hpdUJtgeej8xPkufGLpX0duiwk1fyZ05l7ifvxj/s2WaRIowC+gE ObCETW5JqcgjeJPT3MePtvESmv8bsuPe/8xlQG93gC0RXcrNEmrvfgre1BE+s4KASx9s wx3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=gLHLn+zg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a654b83000000b0046f51cbaf53si52087689pgq.529.2023.01.23.02.47.44; Mon, 23 Jan 2023 02:47:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=gLHLn+zg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231645AbjAWKdp (ORCPT + 99 others); Mon, 23 Jan 2023 05:33:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbjAWKdn (ORCPT ); Mon, 23 Jan 2023 05:33:43 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6232917CE5 for ; Mon, 23 Jan 2023 02:33:42 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id o17-20020a05600c511100b003db021ef437so8163729wms.4 for ; Mon, 23 Jan 2023 02:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6MMnzFkFz/mA+K9jC0tf0KwwFVsDs5pFYEiKF65a6jE=; b=gLHLn+zgy5+aBJbyNbrlB1SUOwNJSWeV6qW3BCQVK/2aFAbyM35TO0xIVbnosTkodS VEJ5OeKl6RdPptAgoOPLRXAz38pZ1wrlW825jhk0abixWK5DmFgeW2NCmPFP3gq7gc+0 TfpUseSfz9A5qSnE+3ylgvwG5jsXvxmIXcDcv+HxKQUj8XcBfbgleOHUKJksQgbphkDG wsnlVTwVYk36tr4sg9OTmCLZZi8PEmW/9MslnraY/MNM5QJGRxR84roNrfKlWrdFR63F KMA7Yz6qG7VGksOxVcROYiQ3qG7y8bdiMEb/Xfw33rKgE1hvTDg0IjXEOI84eaSShlD0 dFhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6MMnzFkFz/mA+K9jC0tf0KwwFVsDs5pFYEiKF65a6jE=; b=LQOD9k6vX5ZfIURnhsJNo4XTJCr3XH8dHJRT9mU3yxxqnQ6XybBxbXOD7Fiy3KBGNj R3Y8cAny6jnILmwR1vq49kAWydNcAGLkjo5fIROg15Gx72HQvxEf5yKVLqhMLwsvB12i aLmjTObfeY/wQdmsLcY/tGWrltkp1D5SXYJ/je7RhekEMYr6U2Rbo0C3Zv4p+4TVvFIP Di9LytkTJnCss84zkkbugdvSD0ZUJsfST47hVKHenSYiMDQ7ppu2OF6Vdqt3QTQ7yxQL TD8RXMDIoBZhEMoOQzzJwlfXLjQZ1FaaFvTP7zZtO00Vs8PwoISt3po8OYBrQYIfnnr3 vRRA== X-Gm-Message-State: AFqh2kr89uR6cfMyldd9pATjfUYwf5IA+ANIAyXUaunfy+k+v2J8U+Lc ZV1FNtKL7j9VZ3F6lmLyICroEg== X-Received: by 2002:a05:600c:4e4b:b0:3db:2e6d:9f79 with SMTP id e11-20020a05600c4e4b00b003db2e6d9f79mr12081589wmq.39.1674470020959; Mon, 23 Jan 2023 02:33:40 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:30ed:611a:2bcc:ca68]) by smtp.gmail.com with ESMTPSA id p19-20020a1c5453000000b003db09692364sm10222634wmi.11.2023.01.23.02.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 02:33:40 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Srinivas Kandagatla , Vinod Koul , Alex Elder , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , kernel test robot Subject: [PATCH] clk: qcom: gcc-sa8775p: remove unused variables Date: Mon, 23 Jan 2023 11:33:38 +0100 Message-Id: <20230123103338.230320-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755809974758447096?= X-GMAIL-MSGID: =?utf-8?q?1755809974758447096?= From: Bartosz Golaszewski There are four struct definitions in the driver that aren't used so remove them. Reported-by: kernel test robot Fixes: ed432b1ed00a ("clk: qcom: add the GCC driver for sa8775p") Signed-off-by: Bartosz Golaszewski Reviewed-by: Stephen Boyd --- drivers/clk/qcom/gcc-sa8775p.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/drivers/clk/qcom/gcc-sa8775p.c b/drivers/clk/qcom/gcc-sa8775p.c index b5da7e0b2eaf..d6e78de2c66f 100644 --- a/drivers/clk/qcom/gcc-sa8775p.c +++ b/drivers/clk/qcom/gcc-sa8775p.c @@ -310,16 +310,6 @@ static const struct clk_parent_data gcc_parent_data_9[] = { { .index = DT_BI_TCXO }, }; -static const struct parent_map gcc_parent_map_10[] = { - { P_PCIE_0_PIPE_CLK, 0 }, - { P_BI_TCXO, 2 }, -}; - -static const struct clk_parent_data gcc_parent_data_10[] = { - { .index = DT_PCIE_0_PIPE_CLK }, - { .index = DT_BI_TCXO }, -}; - static const struct parent_map gcc_parent_map_11[] = { { P_PCIE_PHY_AUX_CLK, 1 }, { P_BI_TCXO, 2 }, @@ -330,16 +320,6 @@ static const struct clk_parent_data gcc_parent_data_11[] = { { .index = DT_BI_TCXO }, }; -static const struct parent_map gcc_parent_map_12[] = { - { P_PCIE_1_PIPE_CLK, 0 }, - { P_BI_TCXO, 2 }, -}; - -static const struct clk_parent_data gcc_parent_data_12[] = { - { .index = DT_PCIE_1_PIPE_CLK }, - { .index = DT_BI_TCXO }, -}; - static const struct parent_map gcc_parent_map_13[] = { { P_BI_TCXO, 0 }, { P_GCC_GPLL0_OUT_MAIN, 1 },