Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp305458pxb; Wed, 20 Oct 2021 23:08:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXBsukfvBFEgI1MvuFeFO3b619u7qDDoCIwc5Bw0ubLP/MfVwvd7Sod10lcriJrC5cs/6y X-Received: by 2002:a50:bf48:: with SMTP id g8mr5221362edk.10.1634796538904; Wed, 20 Oct 2021 23:08:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634796538; cv=none; d=google.com; s=arc-20160816; b=weqUO2CTcix3kUHvN3yrL3NYYEbjFNXN95egyH0c0DZCFIpQwONTIb59zl4Rz2EI/g 2goPmWlw6Ej3cEyCjsXJlUNKgIVPRkZUHG1barKcs3PD4h0Lvp3dofCXJE4ih6tM7GyQ jKJd2HJ/2ZL2zDUGtK+/JQZNHYokiwgFBpPHu39wmQS1og5MxN1vlUy6H7B8sqGY2nF7 W6E7KIDOD8Ck6A6zUnzi1NqCMZqFRT4hZS7NeOKxrsE9oiBV7aqvy+AqIyLkgj1kbqwH slTGKfNTY5LpdoAyn6TBOZX/BsLt0267c8dxBWYndHLOJw/KriEb6aE+mmtb6iIK35rc Uqew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=VKEV54rVCH1gM6NZHPZmVXGUqKemhJ6drUvXRYkae9s=; b=FnRmbAv94RLoKImbt/TWAZt+OUb398g3Ku8g6trwxXZzdWWToX4sroUh7QkIpSds5X C1K5v+Tsu/bT5uf4+knUDxAprBWOcGfEoLh4qzUFjlaspSJFss0y5kgh7iwSwj5B1K8h GvX1XBjgRsRYwv/W0w7JGKgKNavvMcKBNcPy1hiVRietRgGxkQqZzARxiuav7z+v+aA1 18eZT4M1fmiqIVdr6t5EbLVSv8wk4T0/7GgEnXNeO0gYV0T03WRYH6Tc/m0cKEaw5Y6k 3Tuoe+8Sr2BbL6Ay7TxL3eGULrIUYX5bgOHNUB9r4hwE/3DvsCWvokcP5UebfO91JMRk vrTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 x2si5537024edq.409.2021.10.20.23.08.38; Wed, 20 Oct 2021 23:08:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230434AbhJUGKp (ORCPT + 63 others); Thu, 21 Oct 2021 02:10:45 -0400 Received: from mail.kevlo.org ([220.134.220.36]:6409 "EHLO mail.kevlo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbhJUGKp (ORCPT ); Thu, 21 Oct 2021 02:10:45 -0400 X-Greylist: delayed 1459 seconds by postgrey-1.27 at vger.kernel.org; Thu, 21 Oct 2021 02:10:44 EDT Received: from localhost (ns.kevlo.org [local]) by ns.kevlo.org (OpenSMTPD) with ESMTPA id 4386c0a4; Thu, 21 Oct 2021 13:44:08 +0800 (CST) Date: Thu, 21 Oct 2021 13:44:08 +0800 From: Kevin Lo To: linux-wireless@vger.kernel.org Cc: Pkshih Subject: [PATCH wireless-drivers-next] rtw89: remove duplicate register definitions Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove duplicate register definitions. Signed-off-by: Kevin Lo --- diff --git a/drivers/net/wireless/realtek/rtw89/pci.h b/drivers/net/wireless/realtek/rtw89/pci.h index 34333c441aea..20e6767ea5c4 100644 --- a/drivers/net/wireless/realtek/rtw89/pci.h +++ b/drivers/net/wireless/realtek/rtw89/pci.h @@ -276,11 +276,6 @@ #define B_AX_CH10_BUSY BIT(0) /* Configure */ -#define R_AX_PCIE_INIT_CFG1 0x1000 -#define B_AX_PCIE_RXRST_KEEP_REG BIT(23) -#define B_AX_PCIE_TXRST_KEEP_REG BIT(22) -#define B_AX_DIS_RXDMA_PRE BIT(2) - #define R_AX_PCIE_INIT_CFG2 0x1004 #define B_AX_WD_ITVL_IDLE GENMASK(27, 24) #define B_AX_WD_ITVL_ACT GENMASK(19, 16)