svn commit: r343541 - head/sys/dev/usb/wlan

Andriy Voskoboinyk avos at FreeBSD.org
Tue Jan 29 03:28:50 UTC 2019


Author: avos
Date: Tue Jan 29 03:28:47 2019
New Revision: 343541
URL: https://svnweb.freebsd.org/changeset/base/343541

Log:
  Drop some unneeded includes from wireless USB drivers.
  
  MFC after:	1 week

Modified:
  head/sys/dev/usb/wlan/if_rsu.c
  head/sys/dev/usb/wlan/if_rum.c
  head/sys/dev/usb/wlan/if_run.c
  head/sys/dev/usb/wlan/if_uath.c
  head/sys/dev/usb/wlan/if_upgt.c
  head/sys/dev/usb/wlan/if_ural.c
  head/sys/dev/usb/wlan/if_urtw.c
  head/sys/dev/usb/wlan/if_zyd.c

Modified: head/sys/dev/usb/wlan/if_rsu.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rsu.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_rsu.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -39,12 +39,8 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
 #include <sys/conf.h>
 #include <sys/bus.h>
-#include <sys/rman.h>
 #include <sys/firmware.h>
 #include <sys/module.h>
-
-#include <machine/bus.h>
-#include <machine/resource.h>
 
 #include <net/bpf.h>
 #include <net/if.h>

Modified: head/sys/dev/usb/wlan/if_rum.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rum.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_rum.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -44,10 +44,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/endian.h>
 #include <sys/kdb.h>
 
-#include <machine/bus.h>
-#include <machine/resource.h>
-#include <sys/rman.h>
-
 #include <net/bpf.h>
 #include <net/if.h>
 #include <net/if_var.h>

Modified: head/sys/dev/usb/wlan/if_run.c
==============================================================================
--- head/sys/dev/usb/wlan/if_run.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_run.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -44,10 +44,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/firmware.h>
 #include <sys/kdb.h>
 
-#include <machine/bus.h>
-#include <machine/resource.h>
-#include <sys/rman.h>
-
 #include <net/bpf.h>
 #include <net/if.h>
 #include <net/if_var.h>

Modified: head/sys/dev/usb/wlan/if_uath.c
==============================================================================
--- head/sys/dev/usb/wlan/if_uath.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_uath.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -85,10 +85,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/endian.h>
 #include <sys/kdb.h>
 
-#include <machine/bus.h>
-#include <machine/resource.h>
-#include <sys/rman.h>
-
 #include <net/bpf.h>
 #include <net/if.h>
 #include <net/if_var.h>

Modified: head/sys/dev/usb/wlan/if_upgt.c
==============================================================================
--- head/sys/dev/usb/wlan/if_upgt.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_upgt.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -41,7 +41,6 @@
 #include <net/if_types.h>
 
 #include <sys/bus.h>
-#include <machine/bus.h>
 
 #include <net80211/ieee80211_var.h>
 #include <net80211/ieee80211_phy.h>

Modified: head/sys/dev/usb/wlan/if_ural.c
==============================================================================
--- head/sys/dev/usb/wlan/if_ural.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_ural.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -45,10 +45,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/endian.h>
 #include <sys/kdb.h>
 
-#include <machine/bus.h>
-#include <machine/resource.h>
-#include <sys/rman.h>
-
 #include <net/bpf.h>
 #include <net/if.h>
 #include <net/if_var.h>

Modified: head/sys/dev/usb/wlan/if_urtw.c
==============================================================================
--- head/sys/dev/usb/wlan/if_urtw.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_urtw.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -34,10 +34,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/endian.h>
 #include <sys/kdb.h>
 
-#include <machine/bus.h>
-#include <machine/resource.h>
-#include <sys/rman.h>
-
 #include <net/if.h>
 #include <net/if_var.h>
 #include <net/if_arp.h>

Modified: head/sys/dev/usb/wlan/if_zyd.c
==============================================================================
--- head/sys/dev/usb/wlan/if_zyd.c	Tue Jan 29 03:06:25 2019	(r343540)
+++ head/sys/dev/usb/wlan/if_zyd.c	Tue Jan 29 03:28:47 2019	(r343541)
@@ -44,10 +44,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/endian.h>
 #include <sys/kdb.h>
 
-#include <machine/bus.h>
-#include <machine/resource.h>
-#include <sys/rman.h>
-
 #include <net/bpf.h>
 #include <net/if.h>
 #include <net/if_var.h>


More information about the svn-src-all mailing list