Re: [PATCH net-next] net: ifdefy the wireless pointers in struct net_device

From
Jakub Kicinski <kuba@kernel.org>
Date
2022-05-17 17:32:09
Also in
linux-wireless
Reply to
Kalle Valo, 2022-05-17
On Tue, 17 May 2022 07:36:54 +0300 Kalle Valo wrote:
quoted
+void cfg80211_unregister_netdevice(struct net_device *dev)
+{
+	cfg80211_unregister_wdev(dev->ieee80211_ptr);
+}
+EXPORT_SYMBOL(cfg80211_unregister_netdevice);  
Why moving this to a proper function? Just curious, I couldn't figure it
out.
Sorry, I went too far with the "explain what not why".
The header is included in places which get built without 
WIRELESS while the C source is not.
Thread (14 messages) 14 messages, 7 authors, last reply 2022-05-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help