Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1001604ybm; Fri, 29 May 2020 18:12:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9+VossJyDD0iNEkAQp8xOJinVmEg3ArcGWHtypQTbsBpvWU/vvsJK1Cp7NA6Ed1y1TBHY X-Received: by 2002:aa7:ce17:: with SMTP id d23mr11162348edv.387.1590801139562; Fri, 29 May 2020 18:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590801139; cv=none; d=google.com; s=arc-20160816; b=T5uY5s4nOLWOLO5iFaLb7rm6PoczZxm3OBS7WA43yqP/NuNIrzPlJEroRAviFKpT/x kXZLC7LeUBxMt9jQHTFDfViofZxgpBZ/sf7ITOOx2eTLTjyVO+DQxygc+mOg8qVryEPG s+sK+u3P0rW4iHj4QI/H7dl5uF/nsVKddh53VG2OjpQeMVyA+s2H9CtNPkgkjv/jKiNI XQSWuDXwCPJoaISdbGqPWlcG7YhjfP7KR2QHQb2a84T4NDor3V4MvXp7Ikb60YmPCJW/ DLC50fr5mSrF+bqEjYcEU3GUAfp1piSOxrJAIyv2N95fQRoUgCa0piJhF2iGhm1BsZPM 7nww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=+yG+lQvGxE2p2GZzsOmKU6k1epikMSreehS4NigVE9w=; b=umWVzLEOZB19vU8k6Uo1XERyEGB7sAbg7OU4+V4owKy1O5LBFI4b8qYLMYl8GhxUuM 1M5WZvYQx617ns+1VZFWh4W/0Lmm5A4XfLdPSzjmdL5Qb4deMV49piEtptfeKzdwc0fu KK4Sz48ELXKWPATZAmLLlQXQkzCn5ecXZxE9V7bLKgEu66xHc+y5viEVrHtYrFsF6AME aziM+ARuuWlZFii+1B9nUAXKnwlNESdLJBe823l1A8B1dDqp1gKOPWN/uiN3aeu+s4AH xwjoyxVKtsgmJ5281DcWK5ZYlnSW6GLpc9kUwEdzNGYpEduUp0V6oDCGV2XkGvobzXgi 1How== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si3287413edr.398.2020.05.29.18.11.57; Fri, 29 May 2020 18:12:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728698AbgE3BKL (ORCPT + 99 others); Fri, 29 May 2020 21:10:11 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:50118 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728653AbgE3BKL (ORCPT ); Fri, 29 May 2020 21:10:11 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id CC1FA6AB1F27137BD516; Sat, 30 May 2020 09:10:06 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Sat, 30 May 2020 09:09:58 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 2/6] net: hns3: remove an unused macro hclge_is_csq Date: Sat, 30 May 2020 09:08:28 +0800 Message-ID: <1590800912-52467-3-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590800912-52467-1-git-send-email-tanhuazhong@huawei.com> References: <1590800912-52467-1-git-send-email-tanhuazhong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Macro hclge_is_csq defined in hcgle_cmd.c has not been used, so remove it. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c index 64a1d0bd..1d6c328 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c @@ -11,8 +11,6 @@ #include "hnae3.h" #include "hclge_main.h" -#define hclge_is_csq(ring) ((ring)->flag & HCLGE_TYPE_CSQ) - #define cmq_ring_to_dev(ring) (&(ring)->dev->pdev->dev) static int hclge_ring_space(struct hclge_cmq_ring *ring) -- 2.7.4