Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp257221ybz; Fri, 17 Apr 2020 00:13:10 -0700 (PDT) X-Google-Smtp-Source: APiQypINcrEyVoC9oJHAjZQ7HjV2HiZmsPvCPjY0p4IFF5yHxkdv2jF+D3kHqqoBBLD1TuhfORW0 X-Received: by 2002:a17:906:468c:: with SMTP id a12mr1757749ejr.149.1587107590011; Fri, 17 Apr 2020 00:13:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587107590; cv=none; d=google.com; s=arc-20160816; b=Q99uv9FHNmjlniDuLSAHmGIdtmIH2aC0iT1ZSv9o+7xJR+zjWF6NuokXgoqVgTDmkX GHeMXoYGYhO3Ui19cNeMF6BJoYoTEwNscipkHTbo+IqJ0Zg6sgO0XBhVpbJ75NRZxsr5 nzKelKfnnxgYPOfvFncGoWkQdb2Z/INhdOXUKJmVnI32CaXvmn/1KZ5Tio6SZvjRLme3 nZxTXBaMm3nkiE3mjpg3K1ClB3omkJmAtEoLsWvGwApQRk3R3N8Fvx/0yvNFUjRrbyWw lPHQsjaApLe2nxIIsHJgjrIdBMlqkcALBN2QuZxg55mA0EpLCEkOC79HXcw0QmXYc0JY fQoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=noPC0JfLB7ly0nAUX07GnCWiLG/D+xlR1cR21eaJu24=; b=KLlgpEZU+63xjtHxnkuBAaPNTRZ+I3JiR4uIxdORePZlsAXTFPq1gSjzuUjZHiCQhL 4SGox+ye/cFWvTIxKgM6ecXdIlLMtRwAHTNGvH6Dc8rz7mIgiTs0m7FTuzYihXS2rrit t4KfWqRmeQUQ2bd878z3sMbpc4SmZE9VGGmcbP6Fo3nsmJ48+tPFfAcpPlYDHfK/Ufum rMnEvb3xsR6nsBJm7kycQzgpsDGwVZZZ3j9HwrM5pb9ZOlQaWQyx8kXoKxgQOTKetq78 BN99yf+TAZCM/oDI5Ad44tVL8SE1SSMxYW2xWfsdNoiY5ncZymi9u9Gs471r2GWu1zx5 IrQQ== 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 v24si14701457edr.501.2020.04.17.00.12.46; Fri, 17 Apr 2020 00:13:10 -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 S1728816AbgDQHJI (ORCPT + 99 others); Fri, 17 Apr 2020 03:09:08 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2391 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728375AbgDQHJH (ORCPT ); Fri, 17 Apr 2020 03:09:07 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E77479351F233395DA81; Fri, 17 Apr 2020 15:09:03 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Fri, 17 Apr 2020 15:08:57 +0800 From: Jason Yan To: , , , , , , CC: Jason Yan , Hulk Robot Subject: [PATCH] clk: ti: dra7: remove two unused symbols Date: Fri, 17 Apr 2020 15:35:23 +0800 Message-ID: <20200417073523.42520-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following gcc warning: drivers/clk/ti/clk-7xx.c:320:43: warning: ‘dra7_gpu_sys_clk_data’ defined but not used [-Wunused-const-variable=] static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data __initconst = { ^~~~~~~~~~~~~~~~~~~~~ drivers/clk/ti/clk-7xx.c:315:27: warning: ‘dra7_gpu_sys_clk_parents’ defined but not used [-Wunused-const-variable=] static const char * const dra7_gpu_sys_clk_parents[] __initconst = { ^~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/clk/ti/clk-7xx.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/clk/ti/clk-7xx.c b/drivers/clk/ti/clk-7xx.c index 14b645093107..941a67dae22c 100644 --- a/drivers/clk/ti/clk-7xx.c +++ b/drivers/clk/ti/clk-7xx.c @@ -312,15 +312,6 @@ static const char * const dra7_gpu_hyd_mux_parents[] __initconst = { NULL, }; -static const char * const dra7_gpu_sys_clk_parents[] __initconst = { - "sys_clkin", - NULL, -}; - -static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data __initconst = { - .max_div = 2, -}; - static const struct omap_clkctrl_bit_data dra7_gpu_core_bit_data[] __initconst = { { 24, TI_CLK_MUX, dra7_gpu_core_mux_parents, NULL, }, { 26, TI_CLK_MUX, dra7_gpu_hyd_mux_parents, NULL, }, -- 2.21.1