Commit 874a0eda authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Kalle Valo

wifi: rtlwifi: Remove bridge vendor/device ids

Neither vendorid nor deviceid in the struct mp_adapter is used so
remove them.
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231124084725.12738-11-ilpo.jarvinen@linux.intel.com
parent 217fbc03
...@@ -1968,7 +1968,6 @@ static bool _rtl_pci_find_adapter(struct pci_dev *pdev, ...@@ -1968,7 +1968,6 @@ static bool _rtl_pci_find_adapter(struct pci_dev *pdev,
*/ */
if (bridge_pdev) { if (bridge_pdev) {
/*find bridge info if available */ /*find bridge info if available */
pcipriv->ndis_adapter.pcibridge_vendorid = bridge_pdev->vendor;
for (tmp = 0; tmp < PCI_BRIDGE_VENDOR_MAX; tmp++) { for (tmp = 0; tmp < PCI_BRIDGE_VENDOR_MAX; tmp++) {
if (bridge_pdev->vendor == pcibridge_vendors[tmp]) { if (bridge_pdev->vendor == pcibridge_vendors[tmp]) {
pcipriv->ndis_adapter.pcibridge_vendor = tmp; pcipriv->ndis_adapter.pcibridge_vendor = tmp;
......
...@@ -215,8 +215,6 @@ struct mp_adapter { ...@@ -215,8 +215,6 @@ struct mp_adapter {
u8 pcibridge_funcnum; u8 pcibridge_funcnum;
u8 pcibridge_vendor; u8 pcibridge_vendor;
u16 pcibridge_vendorid;
u16 pcibridge_deviceid;
bool amd_l1_patch; bool amd_l1_patch;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment