Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2019 03:28:48 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343541 - head/sys/dev/usb/wlan
Message-ID:  <201901290328.x0T3Smb3059446@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901290328.x0T3Smb3059446>