Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp921369rdh; Fri, 24 Nov 2023 00:49:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqoPAuQphJUQIDHgpnap5kpAuE/B2q6fGUXwk5nj9ySl9eGZpE7gm2Bk9p2M35ESC0JShH X-Received: by 2002:a05:6808:190f:b0:3ab:8e86:fc26 with SMTP id bf15-20020a056808190f00b003ab8e86fc26mr2613022oib.46.1700815745374; Fri, 24 Nov 2023 00:49:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700815745; cv=none; d=google.com; s=arc-20160816; b=YBOV+E4rtZ4AWI9mnmWug8rYiuisMRUVivrSgFuHX1O54joII4405ZXg9cdZy8cLeK EVClZZyKKCWZ7y3x6eKMIsPUFBlfG0VLjWQBsiLrC2egJ6ZA1LnjgZsX4yu9kw0i2OvO M3axMT6Met8bo4Upu75A/ogcemkLyU8tFEviTsZVJbTSPhVnJhUMKswu62Fbs2jTFdwq rH+sl2+PN9mFfQottRd7nKwb5nxC5CFQAuOraQtgEKseA3qpQwDjgnI0Mit+L7lG7+BY nqxkVjscFL92vrs9zvGc43qo19Km3fyCF6DiNwT9vWo7DrZlT7jIkNSkgvFag2dAOY4N nfBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=kG/mFjVSl9qwuKdNGHCN1ZTsLdu3iwW03B6qwu5gDKY=; fh=W+eSkce8uvUdQ8A1Dj5F8klEXQy967eJmFo02igvYfU=; b=KKaC52wCEL7DAc4ethAKQ0ZBJJOE5R7n7QYrjsZja/ugGxjphpRtoihZy9WZf7Cn3f 1c3fkASNUxkN91WmPnQ/mjGOTmCIyxaqZ6cvxmWi1zZdsd1p/C1QizrWLHVJ5CK8j+wu bXtdECDi6HNXoeAT4Bw+w923bLiiJ32oGFAJRcM8riQa6KJkO0rcHErzCDuPTFMHYbI4 LVtRTRoCAyj2Jn0g6QKZYCH+UXRyP76Vzy7se0l/R8N1OhPx9O6pGe57C5YI/VgDlRN+ 5J6u7ryMZHmpS1rbsEcwOMFyQ2linjqhvWtU78dBwoS/0X9Z1Rtw3ZiksCA5esGIIEUe VYpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JCF+NMRh; spf=pass (google.com: domain of linux-wireless+bounces-44-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-44-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v64-20020a632f43000000b00557531eafb0si3095292pgv.559.2023.11.24.00.49.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 00:49:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-44-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JCF+NMRh; spf=pass (google.com: domain of linux-wireless+bounces-44-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-44-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B85122813A1 for ; Fri, 24 Nov 2023 08:49:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C7B5C2E9; Fri, 24 Nov 2023 08:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JCF+NMRh" X-Original-To: linux-wireless@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5DDC10F3; Fri, 24 Nov 2023 00:48:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700815740; x=1732351740; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=szHP/bH/uBQ0qXbVg2RukeAFWzc2VqyRXvm/T4TFP44=; b=JCF+NMRhrfVTPJ0Eguibm+Fs1pFtxPEKnTminF76/6FdNYihqhz6/isF pbuYmAWFHiRRqrBTJGVXAaI42nut53AyHKz7B3w5zuHLu+eENjHgDzpSq SL6GykA3bz8bPdx4CitDjwqqbhH2iPvynrBjaqbLmvAvkpyNKOG8eIsUs 17Mf42mtq8XwlkJrS3yWSRfrysMXGQqztGGVckgeRxnlTHjYxwdPGlji3 OhOIsiFfbFm8W5r8n99EKStCHFOtrr2bm4pfZzuSMJv+eiNnkc1kNm5QL dcDbU3JscTl/m2nFPvVrF0USOfBxzc4jKgtGbcGDJxWReU5AnLQdQmQNv Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="382791767" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="382791767" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 00:48:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="838026227" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="838026227" Received: from mvlasov-mobl1.ger.corp.intel.com (HELO localhost) ([10.251.220.89]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 00:48:56 -0800 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: "John W. Linville" , Kalle Valo , Larry Finger , linux-wireless@vger.kernel.org, Ping-Ke Shih , Bjorn Helgaas , linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH v2 10/10] wifi: rtlwifi: Remove bridge vendor/device ids Date: Fri, 24 Nov 2023 10:47:25 +0200 Message-Id: <20231124084725.12738-11-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231124084725.12738-1-ilpo.jarvinen@linux.intel.com> References: <20231124084725.12738-1-ilpo.jarvinen@linux.intel.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Neither vendorid nor deviceid in the struct mp_adapter is used so remove them. Signed-off-by: Ilpo Järvinen --- drivers/net/wireless/realtek/rtlwifi/pci.c | 1 - drivers/net/wireless/realtek/rtlwifi/pci.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/pci.c b/drivers/net/wireless/realtek/rtlwifi/pci.c index a29d7df6fff5..aa00ee971bc3 100644 --- a/drivers/net/wireless/realtek/rtlwifi/pci.c +++ b/drivers/net/wireless/realtek/rtlwifi/pci.c @@ -1969,7 +1969,6 @@ static bool _rtl_pci_find_adapter(struct pci_dev *pdev, */ if (bridge_pdev) { /*find bridge info if available */ - pcipriv->ndis_adapter.pcibridge_vendorid = bridge_pdev->vendor; for (tmp = 0; tmp < PCI_BRIDGE_VENDOR_MAX; tmp++) { if (bridge_pdev->vendor == pcibridge_vendors[tmp]) { pcipriv->ndis_adapter.pcibridge_vendor = tmp; diff --git a/drivers/net/wireless/realtek/rtlwifi/pci.h b/drivers/net/wireless/realtek/rtlwifi/pci.h index 8bb35506ab1e..616e5ba30d74 100644 --- a/drivers/net/wireless/realtek/rtlwifi/pci.h +++ b/drivers/net/wireless/realtek/rtlwifi/pci.h @@ -216,8 +216,6 @@ struct mp_adapter { u8 pcibridge_funcnum; u8 pcibridge_vendor; - u16 pcibridge_vendorid; - u16 pcibridge_deviceid; bool amd_l1_patch; }; -- 2.30.2