]> git.itanic.dy.fi Git - linux-stable/commit
wifi: rtlwifi: Remove unused PCI related defines and struct
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 24 Nov 2023 08:47:24 +0000 (10:47 +0200)
committerKalle Valo <kvalo@kernel.org>
Fri, 1 Dec 2023 12:41:05 +0000 (14:41 +0200)
commit217fbc032eaaaa7bdfcaae0f1680cc0fbb0f3b68
tree59b8120cca3d60e329cb6cc3503b2f1ca19358e7
parent05b311a3f9153226b5603e33831aec34fd38e228
wifi: rtlwifi: Remove unused PCI related defines and struct

The rtlwifi driver comes with a number of PCI related defines that are
unused and many would be provided by PCI core anyway if they'd be
needed again.

Similarly, the struct rtl_pci_capabilities_header is unused and no
driver should come up their own way to access PCI Capabilities anyway.

Remove the unused/duplicated PCI related defines and struct.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231124084725.12738-10-ilpo.jarvinen@linux.intel.com
drivers/net/wireless/realtek/rtlwifi/pci.h