Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5603556rwi; Tue, 18 Oct 2022 01:12:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6skxHt5dJeVo4Dj4xcumou3rPZwvIZv6ivVUi4uZ7uGVsi992p7Gcnw8BcgqBZUoMA2O/V X-Received: by 2002:a17:906:5a6a:b0:78d:d25e:55de with SMTP id my42-20020a1709065a6a00b0078dd25e55demr1395692ejc.130.1666080722171; Tue, 18 Oct 2022 01:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666080722; cv=none; d=google.com; s=arc-20160816; b=iUwE3du/yXdf/eeu/YIHXK4ewIHkwkPR7MPHAbWse189OH9C9pQHWdmWerb/5jAM5W UDqc9T2qUgYJnlQNF5p8Pf2m5ujd8UHExcdU7MGnRCOyvAM+g8lM66t8r2lx2cdCNCuz K0U40Lqt0/FOdzEerlelzCbvnjq5wBXGCmWM0R7sGXti+6yQU92aWDztqSqopK27DAFC OtIBEiYgpjEf/LWyl53SMimgGm1/1z2TomffE0UxbA/YnO5HkS9wGhD9gXViOPoSQWA8 4FUuEPN49z7SZZB0rNQUlv0FDIbJ2jCi0m4bfkiCs2pgJC7ZAfLnHzcP9/fAjqRUwC+Q bHFg== 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=pinAyio+B0RVckCXURPheaEoQmslYwe805IyKWrscIA=; b=Zq+IbRPY6ch30rBRGYr3Y5ziVZc9TylZk9qPwrtxoSBsoUMP8OpYHnsjK5EUY6Qyv3 S2vsQdBBp2S277pW7IUZrN3dOSb4Z2wXqtkiBWZHmOgEJq0dLJFm/NEZhKAXQ7JbAlel Dv8a7yumVbacF0RqJion/ueNJHYEyW7lYlyMcQ6NQ4wWSVZQhha5Fkb2Bd/4bE53GVdq /fwCn7JfKpkuwwwtRhwauyaYz0xU43AO8uaMG+NKwtlArcIooKKzKMxQr+9FNvmbrSmt +7Z/PVSTjaZ4YIwqkRWGkJMakSFNpCTZGnUQ62anKHfOUFWS2tXxzpbhY/MEE++t5JwY hzmA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd16-20020a170907969000b0078cfdd694bfsi11569189ejc.280.2022.10.18.01.11.36; Tue, 18 Oct 2022 01:12:02 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbiJRHqh (ORCPT + 99 others); Tue, 18 Oct 2022 03:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbiJRHqd (ORCPT ); Tue, 18 Oct 2022 03:46:33 -0400 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB37313CF9 for ; Tue, 18 Oct 2022 00:46:30 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VSTvrrn_1666079171; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VSTvrrn_1666079171) by smtp.aliyun-inc.com; Tue, 18 Oct 2022 15:46:28 +0800 From: Jiapeng Chong To: vkoul@kernel.org Cc: kishon@kernel.org, heiko@sntech.de, p.zabel@pengutronix.de, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] phy/rockchip: Remove the unused function hw_to_inno Date: Tue, 18 Oct 2022 15:45:57 +0800 Message-Id: <20221018074557.91724-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham 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 The function hw_to_inno() is defined in the phy-rockchip-inno-dsidphy.c file, but not called elsewhere, so delete this unused function. drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c:203:36: warning: unused function 'hw_to_inno'. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2425 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c index 2c5847faff63..587994353c58 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c @@ -281,11 +281,6 @@ struct inno_mipi_dphy_timing inno_mipi_dphy_timing_table_max_2_5ghz[] = { {2500000000, 0x15, 0x54, 0x7f, 0x15, 0x6a}, }; -static inline struct inno_dsidphy *hw_to_inno(struct clk_hw *hw) -{ - return container_of(hw, struct inno_dsidphy, pll.hw); -} - static void phy_update_bits(struct inno_dsidphy *inno, u8 first, u8 second, u8 mask, u8 val) { -- 2.20.1.7.g153144c