Skip to contentSkip to conversation

PCI/MSI: clean up duplicate dependency in config PCI_HYPERV_INTERFACE

PATCH Applied Lukas Bulwahn 2 participants 2 messages Dec 15, 2022 – Feb 16, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI/MSI: clean up duplicate dependency in config PCI_HYPERV_INTERFACE

Commit a474d3fbe287 ("PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN") removes the config PCI_MSI_IRQ_DOMAIN and makes all previous references to that config then refer to PCI_MSI instead.

In the refactoring of config PCI_HYPERV_INTERFACE, it creates a duplicate dependency on PCI_MSI. Remove this needless duplicate dependency.

No functional change. Just a stylistic clean-up.

---
 drivers/pci/controller/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/Kconfig +1 -1
index 1569d9a3ada0..c2261da85f7b 100644
@@ -285,7 +285,7 @@ config PCIE_BRCMSTB
 
 config PCI_HYPERV_INTERFACE
 	tristate "Hyper-V PCI Interface"
-	depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI && PCI_MSI
+	depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI
 	help
 	  The Hyper-V PCI Interface is a helper driver allows other drivers to
 	  have a common interface with the Hyper-V PCI frontend driver.
Signature · 1 line
2.17.1
#1 lore raw
Quoted 10 lines · Lukas Bulwahn

Commit a474d3fbe287 ("PCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN") removes the config PCI_MSI_IRQ_DOMAIN and makes all previous references to that config then refer to PCI_MSI instead.

In the refactoring of config PCI_HYPERV_INTERFACE, it creates a duplicate dependency on PCI_MSI. Remove this needless duplicate dependency.

No functional change. Just a stylistic clean-up.

Applied to pci/misc for v6.3, thanks, Lukas!

Quoted 20 lines
---
 drivers/pci/controller/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/Kconfig +1 -1
index 1569d9a3ada0..c2261da85f7b 100644
@@ -285,7 +285,7 @@ config PCIE_BRCMSTB
 
 config PCI_HYPERV_INTERFACE
 	tristate "Hyper-V PCI Interface"
-	depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI && PCI_MSI
+	depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI
 	help
 	  The Hyper-V PCI Interface is a helper driver allows other drivers to
 	  have a common interface with the Hyper-V PCI frontend driver.
Signature · 1 line
2.17.1