Skip to contentSkip to conversation

wifi: clean up needless dependency on non-existing option KERNEL_6_2

PATCH New Lukas Bulwahn 1 participant 1 message Jan 18, 2024

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

PATCH 1/1 wifi: clean up needless dependency on non-existing option KERNEL_6_2

Commit ffbd0c8c1e7f ("wifi: mac80211: add an element parsing unit test") and commit 730eeb17bbdd ("wifi: cfg80211: add first kunit tests, for element defrag") add new configs that depend on !KERNEL_6_2, but the config option KERNEL_6_2 does not exist in the tree. This dependency is used for handling backporting to restrict the option to certain kernels but this really should not be carried around the mainline kernel tree.

Clean up this needless dependency on the non-existing option KERNEL_6_2.

Question about this config option was raised and answered in the Link below.

---
 net/mac80211/Kconfig | 1 -
 net/wireless/Kconfig | 1 -
 2 files changed, 2 deletions(-)
net/mac80211/Kconfig +0 -1
index cb0291decf2e..13438cc0a6b1 100644
@@ -62,7 +62,6 @@ config MAC80211_KUNIT_TEST
 	depends on KUNIT
 	depends on MAC80211
 	default KUNIT_ALL_TESTS
-	depends on !KERNEL_6_2
 	help
 	  Enable this option to test mac80211 internals with kunit.
 
net/wireless/Kconfig +0 -1
index a9ac85e09af3..10345388ad13 100644
@@ -206,7 +206,6 @@ config CFG80211_KUNIT_TEST
 	depends on KUNIT
 	depends on CFG80211
 	default KUNIT_ALL_TESTS
-	depends on !KERNEL_6_2
 	help
 	  Enable this option to test cfg80211 functions with kunit.
 
Signature · 1 line
2.17.1