PCI/MSI: clean up duplicate dependency in config PCI_HYPERV_INTERFACE

Message ID 20221215101310.9135-1-lukas.bulwahn@gmail.com
State New
Headers
Series PCI/MSI: clean up duplicate dependency in config PCI_HYPERV_INTERFACE |

Commit Message

Lukas Bulwahn Dec. 15, 2022, 10:13 a.m. UTC
  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.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/pci/controller/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bjorn Helgaas Feb. 16, 2023, 11:25 p.m. UTC | #1
On Thu, Dec 15, 2022 at 11:13:10AM +0100, Lukas Bulwahn wrote:
> 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.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>

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

> ---
>  drivers/pci/controller/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
> index 1569d9a3ada0..c2261da85f7b 100644
> --- a/drivers/pci/controller/Kconfig
> +++ b/drivers/pci/controller/Kconfig
> @@ -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.
> -- 
> 2.17.1
>
  

Patch

diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 1569d9a3ada0..c2261da85f7b 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -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.