Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1112478rwl; Fri, 31 Mar 2023 06:57:48 -0700 (PDT) X-Google-Smtp-Source: AKy350b2km3/X+tXtD4URfYN8aNyZiQNzJuUOf2xxQ1HNl0BBJVZ8617x78+7/1K9BN6k5K9MeB9 X-Received: by 2002:a17:90b:1253:b0:236:1ec1:6d30 with SMTP id gx19-20020a17090b125300b002361ec16d30mr5753527pjb.3.1680271067915; Fri, 31 Mar 2023 06:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680271067; cv=none; d=google.com; s=arc-20160816; b=IoTYDtJjZpHLOJCpHcgrPfMXWR/JkfoRVdwA7b1jR8XNUT3dIrBjrhfkSvcIlTpDAl U8r95R4Hk35J0F8k9aEeG9z1WO5gFk9Q99NpNl8rq9uJcEEi7iJKG5egdkzSTsOC/0GA 5TCHdPZ5u3OJcFy6EnBoJK9naq0q15pagieD4TK/RJ0UMjcbX/5gaBA/3Vo4AArwCD7c fUkyb6LLHJc5a/YoB9pLZh41HFp/hMmguxHo7QeqlcUtd+tDOkJ8H6pfzdyGHlIPrG5H zJ6PqlkB/focJ5Nxq0wyV+P++ojgsPJnv78T/2aeBxtAcHNcEUNrKNzvIcj9L2cDwP4u 0otQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VNDUJtT47AZ2jdho5ny/4h9PuhAusqhKvCTQegptESM=; b=qNFVSPfVBA5hXyrdt+j6MYJPtAsnGrIEGREXIYHX9CYiEzyuIHEXMib+KR1Aho+4Us 0RIKNL21LvlijMOxkm2kl8a/TwF/dy2u0BG2CmE06ZY6q4o33Lta2NvzWeycVyqcPo2e ZwGx2ZV8y4jcL6MoN95Upg/6zbRMWpgGE2Zb26J0H8sUKoWhYxqw6pOucWXxRuJp8YLA fe8fu1LvB2dcIWqsev8Xg8iQI/VpWFg2MPPf6MwH45N3AsD06uNVx+0XQOIIIaeHB8pA lTUmqEJQH2DHFWq3nDAGYvPxa1oHZ6YuN8u8+/hxf3jKKFvTjtB2z9WWz5CxthcNG3Aw 14Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="a4SmCF/0"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o21-20020a17090aac1500b0023d3ecf85c5si2122481pjq.59.2023.03.31.06.57.35; Fri, 31 Mar 2023 06:57:47 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="a4SmCF/0"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232201AbjCaNx3 (ORCPT + 99 others); Fri, 31 Mar 2023 09:53:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjCaNxZ (ORCPT ); Fri, 31 Mar 2023 09:53:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CE3826BF for ; Fri, 31 Mar 2023 06:53:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 10AFA6264F for ; Fri, 31 Mar 2023 13:53:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDBC9C433D2; Fri, 31 Mar 2023 13:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680270804; bh=iobnNx/k4Sc2xMbYMQJiH+DrwwFFMu9MAZjj3G/BEow=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a4SmCF/0mzYQdQsMPReJLAifywz8g/9ccxuuOc1zINTi9oWXgfjZXskwB+h6Q1+9U kRPzZtTwMFZ9VzXer4L2cmi5Q9JtH7bgugAkEbvxfphndLHu69CmyzZm+qpNQem4Tf x2ZwXLfgcKWeXkh9uIlQbedWp71McJMkSI07P1J/jcRMN0x42NV4eULjpXvJ4HBZ4C 4gESQ3fKOPHhAYILMfymW9G7D5oAW6JG2AifhtQfSF7Xkr7m0Pe0q1MmmyKIKnL+M5 P5pXXoxDc5uH7pEaFq4X9A74IlcMTvvJnWU9AIpGWOMTHUWzkkQN7nSCV+6hHbZYo2 ypHyZgTPOOuRQ== Date: Fri, 31 Mar 2023 19:23:20 +0530 From: Vinod Koul To: Tom Rix Cc: kishon@kernel.org, heiko@sntech.de, nathan@kernel.org, ndesaulniers@google.com, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] phy: rockchip-pcie: remove unused phy_rd_cfg function Message-ID: References: <20230321122503.1783311-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230321122503.1783311-1-trix@redhat.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS 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 On 21-03-23, 08:25, Tom Rix wrote: > clang with W=1 reports > drivers/phy/rockchip/phy-rockchip-pcie.c:122:19: error: > unused function 'phy_rd_cfg' [-Werror,-Wunused-function] > static inline u32 phy_rd_cfg(struct rockchip_pcie_phy *rk_phy, > ^ > This function is not used, so remove it. Applied, thanks -- ~Vinod