Skip to contentSkip to conversation

staging: vme: clean up duplicate definitions of dependencies

PATCH New Lukas Bulwahn 1 participant 1 message Mar 29, 2023

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

PATCH 1/1 staging: vme: clean up duplicate definitions of dependencies

The file staging/vme_user/Kconfig is only included by the top-level staging/Kconfig if STAGING is enabled. So, there is no need to mention the dependency on STAGING within the vme_user Kconfig file. Further, the config VME_USER is already within the "if VME_BUS" block, so there is no need to mention the dependency on VME_BUS.

Clean up these duplications of dependencies. No semantic change.

---
 drivers/staging/vme_user/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/vme_user/Kconfig +1 -2
index c8eabf8f40f1..d65cc5510649 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 menuconfig VME_BUS
 	bool "VME bridge support"
-	depends on STAGING && PCI
+	depends on PCI
 	help
 	  If you say Y here you get support for the VME bridge Framework.
 
@@ -28,7 +28,6 @@ comment "VME Device Drivers"
 
 config VME_USER
 	tristate "VME user space access driver"
-	depends on STAGING && VME_BUS
 	help
 	  If you say Y here you want to be able to access a limited number of
 	  VME windows in a manner at least semi-compatible with the interface
Signature · 1 line
2.17.1