Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp130629pxb; Thu, 17 Feb 2022 00:00:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyW4/fWInqGnQdFrJmPacCtQ4T2f8BH0rinz9DrPRce3JMW7e8XasrVK76Gx1mWNP6yf4Hi X-Received: by 2002:a17:902:6b49:b0:149:7c73:bd6f with SMTP id g9-20020a1709026b4900b001497c73bd6fmr1802918plt.46.1645084819654; Thu, 17 Feb 2022 00:00:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645084819; cv=none; d=google.com; s=arc-20160816; b=zK9133YOZ/Xmfb427RTTdHRFdFn7Ak//uXx3u7aBrmVUL3oX6V7PJcOBKMnbvWcT36 A/vz6NTvUGTZBdxxlmJZXFZyEV3Shb5/k8lHGZHhWKbi9PUxa2WuWRuu5Wb5lBJBTCNg G13FGmZWjovU15wprObsAekOD9XMjvFCs01Rd6vvVRNpwAxshcYLO5GtUhhvyDULdDLb UqCT4MNYaxjwDARA5MIiV3A4GZ0r1oDTCwakXe3NBYAwjm/8bYLnutSFYfbYSTtfZrH/ WzyxU49b5q/934FdAHbjkkVN+H2ElqWjK4pTMledn6ZmXaExwc8/dBDOvPwkQi76sul1 7fYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=SIBgHc4A3wI1YFY4DOjyzA0lcERkvTeGKF/dkceKh4A=; b=nKdYurhseWTpMadARIrfW1dfCoyTv2G/q8au7QyQwdvmf3SvOQ/1vFHnFN1rv/V8fd NHVAInY+82yI0QEFJapYwQm5Wf6CyzWovFlg9cgvT1J50MrzfMtD/og7nQSgXAXFrlSX JRH/i8uVoPBvZ4BBSb5LWOAZTtnAnaKgNFIKQNE/2lj6TA6Rc8CaBY8BWhsHFGmzn3EE fx+042Mw4rrTht9u82969xmsGTiRFOxe4e6Ev0jo7K/yBMttuL35ABlJVcdK8WnVLnS5 sTi8HOUp8qjKw8FuT3L/KemKCMVIrX70Ifn/QMtRahit1XxRaQnVTJyUd6VdmfDR1v0v yVpA== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k93si246515pjc.86.2022.02.17.00.00.05; Thu, 17 Feb 2022 00:00:19 -0800 (PST) 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231567AbiBQCZw (ORCPT + 99 others); Wed, 16 Feb 2022 21:25:52 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:41536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229901AbiBQCZv (ORCPT ); Wed, 16 Feb 2022 21:25:51 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D423929B9C1; Wed, 16 Feb 2022 18:25:36 -0800 (PST) Received: from kwepemi100011.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4JzdqC6nzKzZfdP; Thu, 17 Feb 2022 10:21:11 +0800 (CST) Received: from kwepemm600017.china.huawei.com (7.193.23.234) by kwepemi100011.china.huawei.com (7.221.188.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 17 Feb 2022 10:25:34 +0800 Received: from [127.0.0.1] (10.67.101.149) by kwepemm600017.china.huawei.com (7.193.23.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 17 Feb 2022 10:25:34 +0800 Subject: Re: [PATCH net-next] net: hns3: Remove unused inline function hclge_is_reset_pending() To: YueHaibing , , , , References: <20220216113507.22368-1-yuehaibing@huawei.com> CC: , From: "wangjie (L)" Message-ID: <171c12cc-5b05-a567-59cf-66e211aba941@huawei.com> Date: Thu, 17 Feb 2022 10:25:33 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20220216113507.22368-1-yuehaibing@huawei.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.101.149] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600017.china.huawei.com (7.193.23.234) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Reviewed-by: Jie Wang On 2022/2/16 19:35, YueHaibing wrote: > This is unused since commit 8e2288cad6cb ("net: hns3: refactor PF > cmdq init and uninit APIs with new common APIs"). > > Signed-off-by: YueHaibing > --- > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h > index adfb26e79262..3c5e76eaf90b 100644 > --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h > +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h > @@ -1060,11 +1060,6 @@ static inline int hclge_get_queue_id(struct hnae3_queue *queue) > return tqp->index; > } > > -static inline bool hclge_is_reset_pending(struct hclge_dev *hdev) > -{ > - return !!hdev->reset_pending; > -} > - > int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport); > int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex); > int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, >