Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1560324ybb; Thu, 9 Apr 2020 04:43:34 -0700 (PDT) X-Google-Smtp-Source: APiQypLdhBvTdXuGDBWS/Gt7K36bb9wZcUiOqmYbon7uIo/jq+eOtKmol0Ep/UEvjV6Up6Xu70pf X-Received: by 2002:a4a:3ec1:: with SMTP id t184mr8012761oot.3.1586432614142; Thu, 09 Apr 2020 04:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586432614; cv=none; d=google.com; s=arc-20160816; b=0nF95aPLx0c7k51jELS+Lgg5drgUltN0AKVI1BccwJEJ/RgFlvzmC/Leu1FuxcFK6T LybX7SAWZvwOBOnFQrKUavbXTBKul4YvD2vPxfa9U9yHlrBNwCnhZvQ9l8EZWPU8YDP+ MC/9W5XHMArkY96naE6viFxXKiRllT9Dx4aGhFoEMZfyr1RHcyd3I5YIvIg4mCoJKAs1 PFQQRAVTeGKsZH1D9zid6s3vFOwXp10QKdGlTjc9R/Uvc73d5OHAeuDak1yvrdVAfuP6 uUjRhFHkGGQdDXbc+OCgz9ADj1dlXeliOEzD+9mpgBF/0vrWmCS2dB+2Q7AeZ7kgqE3U QLMQ== 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=6JiKPQrZvB7TR5rGC/IInusiyYfP5wY2zoVKsWOlQHA=; b=MQDpqttBF8oMUtapbEg0tkRnQP+g2AfN5yTZyorAT0FdeEqr0us6sHtWgUybcurM8t x7fr+oG5TIn+4SX8FCPtk2dFVq6Geaj3QFgK54bSN+JWcysZ+i9hPYpjNl2LhOIjcKyN YMlKPVgHYz5XEsWZ5YL2CufB1kjeLHIcut/zgJBwrTgQE7gsti2xF3TAfjSvYIcLaqCn KJZv0qJTrcNVtME4IY4CKbH+hervGTN8S2f3kx2KhMHdvU/DyenBawF6pqcO1b4s6BPK YyjDWqRZNYZQrOPuGvv22AwILp14GiC0leDpfWbTjQWDAj+9ukdi1X4q66U/kSZuQ2JM CVnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v17si2743589oth.156.2020.04.09.04.43.19; Thu, 09 Apr 2020 04:43:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726597AbgDILli (ORCPT + 99 others); Thu, 9 Apr 2020 07:41:38 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12706 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725971AbgDILli (ORCPT ); Thu, 9 Apr 2020 07:41:38 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C4AE6E691DB7A3209D39; Thu, 9 Apr 2020 19:41:34 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Thu, 9 Apr 2020 19:41:27 +0800 From: Jason Yan To: , , , , , , CC: Jason Yan Subject: [PATCH] clk: rockchip: remove defined but not used 'mux_timer_src_p' Date: Thu, 9 Apr 2020 19:40:01 +0800 Message-ID: <20200409114001.38122-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.17.2 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/rockchip/clk-rk3308.c:136:7: warning: ‘mux_timer_src_p’ defined but not used [-Wunused-const-variable=] PNAME(mux_timer_src_p) = { "xin24m", "clk_rtc32k" }; ^ Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/clk/rockchip/clk-rk3308.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3308.c b/drivers/clk/rockchip/clk-rk3308.c index b0baf87a283e..5bf15f2a44b7 100644 --- a/drivers/clk/rockchip/clk-rk3308.c +++ b/drivers/clk/rockchip/clk-rk3308.c @@ -133,7 +133,6 @@ PNAME(mux_uart1_p) = { "clk_uart1_src", "dummy", "clk_uart1_frac" }; PNAME(mux_uart2_p) = { "clk_uart2_src", "dummy", "clk_uart2_frac" }; PNAME(mux_uart3_p) = { "clk_uart3_src", "dummy", "clk_uart3_frac" }; PNAME(mux_uart4_p) = { "clk_uart4_src", "dummy", "clk_uart4_frac" }; -PNAME(mux_timer_src_p) = { "xin24m", "clk_rtc32k" }; PNAME(mux_dclk_vop_p) = { "dclk_vop_src", "dclk_vop_frac", "xin24m" }; PNAME(mux_nandc_p) = { "clk_nandc_div", "clk_nandc_div50" }; PNAME(mux_sdmmc_p) = { "clk_sdmmc_div", "clk_sdmmc_div50" }; -- 2.17.2