Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3848330pxk; Tue, 22 Sep 2020 04:22:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwND7vjJiT6aOlklWnIxOyh3QG0/f8jwUBtSo8ChipOfPuVJOOqKer47V/uFaCEXo7XcnX8 X-Received: by 2002:a50:ec10:: with SMTP id g16mr3412050edr.214.1600773766013; Tue, 22 Sep 2020 04:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600773766; cv=none; d=google.com; s=arc-20160816; b=DC3pr3+3vs7FfBi6Woa4AjO38HwKTvyYBL/YWUt4/mu6gNal7q6s/eT32K2F58U8CN eE7Pj8hSFbsN/u8aJQairwsyeuY/0OwOdW41BTXUbrIKludfSwyu0isDBCPAeWxgSXoW vpo7ID1xJPdYBv62CgyY6taCb1QfYvcZ9BkCg3bcBRKeY1hQFvgQ6ebi7Xm6KpvNgoww U8sRxvLMXVLugCh9is0CM75WSizb60+z5djU2Ge9M3qh9ZKoiBHWujOPjx9Xw0VqNW75 l5J/Ee9OkMW+IqLAA2/VCX+too195kIgBRsOKzM4OAHgMo9InlsqGDO22OgPMpopurND 2l+g== 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; bh=Q6JuBaR0qsPq4s0wyIjbCSjHGjHShmk9tC73/xrye8U=; b=JWNEQN4WGcAtPCvgr5oGvgwJGmZjSFVNwLUnp/6jAjdesE9689vwVZ4tzRdzExkqRF xg9xhB6+oYfB3ZqblHSGls3Sh4OmsMdupHk4K/7VpvKfk8OXrUzx2LypXrWcr7cBD1xH O/7s0E5TwMob84L6swPFx4BbJHZPwIUPnPGoFh3XsDDEx4vuseW+2QjtfpjrqLCVjbub sEUYqfpDkHBGnwadsC9eyABjQ99/z9Hiphya25nvuSwbldtdHUdQTLz3tVHm4g2yzd5z DwDVzKvDMwXBfRP1b+UsM0JaHcLUdeqrX4r3gu0ulNy7BRZkl27YogXyn/Ac4TuOScPp Z+QA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs1si13504148edb.6.2020.09.22.04.22.23; Tue, 22 Sep 2020 04:22:46 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbgIVLV1 (ORCPT + 99 others); Tue, 22 Sep 2020 07:21:27 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:13821 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726513AbgIVLV0 (ORCPT ); Tue, 22 Sep 2020 07:21:26 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 9B537D68EBE16DA17004; Tue, 22 Sep 2020 19:21:24 +0800 (CST) Received: from huawei.com (10.175.104.57) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Tue, 22 Sep 2020 19:21:18 +0800 From: Li Heng To: , , , CC: , , Subject: [PATCH -next] clk: qcom: Remove set but not used variable Date: Tue, 22 Sep 2020 19:21:18 +0800 Message-ID: <1600773678-46320-1-git-send-email-liheng40@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.104.57] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This addresses the following gcc warning with "make W=1": drivers/clk/qcom/gcc-sdm660.c:52:32:warning: ‘gcc_parent_map_xo_gpll0’ defined but not used [-Wunused-const-variable=] Reported-by: Hulk Robot Signed-off-by: Li Heng --- drivers/clk/qcom/gcc-sdm660.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/clk/qcom/gcc-sdm660.c b/drivers/clk/qcom/gcc-sdm660.c index f0b47b7..db0fb7e 100644 --- a/drivers/clk/qcom/gcc-sdm660.c +++ b/drivers/clk/qcom/gcc-sdm660.c @@ -49,11 +49,6 @@ static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div[] = { "gpll0_early_div", }; -static const struct parent_map gcc_parent_map_xo_gpll0[] = { - { P_XO, 0 }, - { P_GPLL0, 1 }, -}; - static const char * const gcc_parent_names_xo_gpll0[] = { "xo", "gpll0", -- 2.7.4