Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3617557pxk; Mon, 7 Sep 2020 20:03:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMybj4qj13d9GyEpRBUXZN1PYn8o4XX2iSzJruTnJjfUxjhj0Y5nS9AsHa2BHTrAvUIKDh X-Received: by 2002:a50:a418:: with SMTP id u24mr23822837edb.193.1599534239457; Mon, 07 Sep 2020 20:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599534239; cv=none; d=google.com; s=arc-20160816; b=HhTmtocK5FDxBtNswqOOYQ6d/MZnXfviIfeqG90tteM0F58WZO058IXtFQDO4Wc/nc EgnProF8E+clBEZio03ziYCtc8/pD5tAjPUK0HmYwMbOzQ1l+yX3krbpYkQtduJmJUl4 7M4cOXNBK7z/1kxxWVAYYZEJR/H+UmvlEV1+9VVq7Ilynb7+ylv72rAeBRSklrP2qMcr w7iJ3Neibn3gAwMz5q5WYKb9LM3cv0Iuu5u08CctxDcSnku3Clv3hKiT7+/K7svfoe1A JfjdpiwOjBWgqtzQkgIueEtvog/PaQCF6+ke4Iq9ICaZZYeH0COkFcmV+nB7Sweh4/a/ ZBMg== 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=xKQsp1SWawPaW9QIR4pB/cC9R/y4zx6WgigysEcQ+LQ=; b=f2MaW8f9O87nvgiIXZxryAB4yU8rfTC8awn0PqKL+FSpK6rnn6xn23Lpqn4PW2CEsr d2IkSST+Me6y3WgNET1Kw+OlowgJuiIEnzwP3Z70Xdv6J9SFEYDYGq/U4RkD/fYfVrOm RvhORhaeJX6dk2zmwMmatWd9rKnrMJMsFqwvn/DEyP0xg1QBax9qYNU5C351XCd6drwX OZYFgWE3HZq+h8R6RLHqKPnNem+OXIbmt5Nj1M9s2SUNhO+e2xEDx9MOvrkWQlocWdFG CvBC87nQkED0+5aweChKd0USOgySH0/Rlit6SpAUoQl3EP5bK497Hd87Yc3xsVI6TLAz mZqQ== 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 h7si10608929ejl.266.2020.09.07.20.03.37; Mon, 07 Sep 2020 20:03:59 -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 S1728623AbgIHDCu (ORCPT + 99 others); Mon, 7 Sep 2020 23:02:50 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11254 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728408AbgIHDCa (ORCPT ); Mon, 7 Sep 2020 23:02:30 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A8BDF3E1FE4D015A6D72; Tue, 8 Sep 2020 11:02:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Sep 2020 11:02:20 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 6/7] net: hns3: remove some unused macros related to queue Date: Tue, 8 Sep 2020 10:59:53 +0800 Message-ID: <1599533994-32744-7-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1599533994-32744-1-git-send-email-tanhuazhong@huawei.com> References: <1599533994-32744-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 There are several macros related queue defined, but never used, so remove them. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h index 0c146e7..cef6f9a 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h @@ -42,13 +42,8 @@ enum hns3_nic_state { #define HNS3_RING_TX_RING_PKTNUM_RECORD_REG 0x0006C #define HNS3_RING_TX_RING_EBD_OFFSET_REG 0x00070 #define HNS3_RING_TX_RING_BD_ERR_REG 0x00074 -#define HNS3_RING_PREFETCH_EN_REG 0x0007C -#define HNS3_RING_CFG_VF_NUM_REG 0x00080 -#define HNS3_RING_ASID_REG 0x0008C #define HNS3_RING_EN_REG 0x00090 -#define HNS3_TX_REG_OFFSET 0x40 - #define HNS3_RX_HEAD_SIZE 256 #define HNS3_TX_TIMEOUT (5 * HZ) -- 2.7.4