Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11255606ybi; Thu, 25 Jul 2019 12:49:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDZqfuzXuUC27+pVyLd8Rl6oIhKlD858TJvCVITnsrr/21fl7GPMTXE/s8vL9IhaZMXQ6r X-Received: by 2002:a17:90a:9b08:: with SMTP id f8mr95010766pjp.103.1564084157671; Thu, 25 Jul 2019 12:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564084157; cv=none; d=google.com; s=arc-20160816; b=mKjpK7b0HeJtk2U1BzAesTGcTu0Jc4MoKQJckUb92nHB/ufR87MT59uMXz2TPxk2GC Kg9dCvHaWWdWJ+7jw3R+ZWQEnYvRPAv27aBDGOKtxZNfUnK++pPc3zhJfexCvleRfrJt FPF3IHtUwIMxOJQjNwdJFwtO6RIoDucIbbEXVTyO1xeHujNIp6AwnL/i41tFBd4fVO5w OsjBPuRRaUwm3oGJXak+fb94byoDNY8c0Pn0g493tGp2R4D35lkShbUUl+5j8sYp8JOR tSUkGij++s3v+WuNZ+WUgGTz+7xzsigwZkHEAb3OdRXBGSYLqpD8CpojIuJtQKi1NBtN sJjg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eIhew5/gl36hFdUhjmgSgoxDu2V/7SN8GPoNQbc3viM=; b=bXaTe8Nqmi/OkUiDtAYJTAiuxPOuGLCD/8MoLNTF3s5qzZCHwaZwfrIbsotArRFACW RG53Men1GTnf4kAAoFT6yYAIGLwnfLlqBssyhCpAAgcez8icPqDLW0iwPehxu0AgCBGz rArjeCKasnR6WOoT9RPHKF1c5DA4CrDUVRlcnNFoP1de/wHMivQf8SscWTTJm9dI3oeS i/FHi7REMN2RCU+B1wXJJcpU4GPVts8xZns2P4cc3KEC17fUMCWfK6w76M9fZEMvEumo 9PvHmuSDJKv4eMO0p130ARYqmfK+1QvcyUahazqUMfDRit8ewIknHdnjtwrxVdtRhyv9 BphQ== 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 s24si17939222pfh.227.2019.07.25.12.49.02; Thu, 25 Jul 2019 12:49:17 -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 S1726429AbfGYTrz (ORCPT + 99 others); Thu, 25 Jul 2019 15:47:55 -0400 Received: from gloria.sntech.de ([185.11.138.130]:39198 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726320AbfGYTrz (ORCPT ); Thu, 25 Jul 2019 15:47:55 -0400 Received: from d57e23da.static.ziggozakelijk.nl ([213.126.35.218] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqjiK-0001nu-FG; Thu, 25 Jul 2019 21:47:44 +0200 From: Heiko Stuebner To: Nathan Huckleberry Cc: mturquette@baylibre.com, sboyd@kernel.org, andy.yan@rock-chips.com, zhangqing@rock-chips.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] clk: rockchip: Fix -Wunused-const-variable Date: Thu, 25 Jul 2019 21:47:42 +0200 Message-ID: <1785547.ocfUNUBeK4@phil> In-Reply-To: <20190627222220.89175-1-nhuck@google.com> References: <20190627222220.89175-1-nhuck@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Freitag, 28. Juni 2019, 00:22:20 CEST schrieb Nathan Huckleberry: > Clang produces the following warning > > drivers/clk/rockchip/clk-rv1108.c:125:7: warning: unused variable > 'mux_pll_src_3plls_p' [-Wunused-const-variable] > PNAME(mux_pll_src_3plls_p) = { "apll", "gpll", "dpll" }; > > Looks like this variable was never used. Deleting it to remove the > warning. > > Cc: clang-built-linux@googlegroups.com > Link: https://github.com/ClangBuiltLinux/linux/issues/524 > Signed-off-by: Nathan Huckleberry applied for 5.4 Thanks Heiko