diff mbox series

[v2,3/6] wifi: libertas: don't select/include lib80211

Message ID 20241007202706.f8a6dd67f650.I74bc1f334c02043a238303d3e71c955d0d9b01b0@changeid (mailing list archive)
State Accepted
Delegated to: Kalle Valo
Headers show
Series lib80211 cleanup | expand

Commit Message

Johannes Berg Oct. 7, 2024, 6:26 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

This isn't used in this driver, and should't be, so
remove the include as well as the select.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
v2: remove Kconfig select as well
---
 drivers/net/wireless/marvell/libertas/Kconfig | 1 -
 drivers/net/wireless/marvell/libertas/mesh.h  | 1 -
 2 files changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/marvell/libertas/Kconfig b/drivers/net/wireless/marvell/libertas/Kconfig
index 36b234bc5be8..caf8bc231b2e 100644
--- a/drivers/net/wireless/marvell/libertas/Kconfig
+++ b/drivers/net/wireless/marvell/libertas/Kconfig
@@ -3,7 +3,6 @@  config LIBERTAS
 	tristate "Marvell 8xxx Libertas WLAN driver support"
 	depends on USB || MMC || SPI
 	depends on CFG80211
-	select LIB80211
 	select FW_LOADER
 	help
 	  A library for Marvell Libertas 8xxx devices.
diff --git a/drivers/net/wireless/marvell/libertas/mesh.h b/drivers/net/wireless/marvell/libertas/mesh.h
index 44c4cd0230a8..e37db10e82a9 100644
--- a/drivers/net/wireless/marvell/libertas/mesh.h
+++ b/drivers/net/wireless/marvell/libertas/mesh.h
@@ -7,7 +7,6 @@ 
 
 
 #include <net/iw_handler.h>
-#include <net/lib80211.h>
 
 #include "host.h"
 #include "dev.h"