The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=0a7b99553f5c1e68868e3cbaccb3160eb1a7d1d6
commit 0a7b99553f5c1e68868e3cbaccb3160eb1a7d1d6 Author: Bjoern A. Zeeb <b...@freebsd.org> AuthorDate: 2021-03-26 16:10:25 +0000 Commit: Bjoern A. Zeeb <b...@freebsd.org> CommitDate: 2021-03-26 17:44:38 +0000 cxgbe: remove unused linux headers Remove unused #includes of LinuxKPI headers noticed while trying to solve LinuxKPI struct net_device and related functions. Neither netdevice.h nor inetdevice.h nor notifier.h seem to be needed. This takes cxgbe(4) out of the picture of D29366. Sponsored-by: The FreeBSD Foundation MFC-after: 2 weeks Reviewed-by: np X-D-R: D29366 (extracted as further cleanup) Differential Revision: https://reviews.freebsd.org/D29432 --- sys/dev/cxgbe/iw_cxgbe/cm.c | 2 -- sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h | 1 - 2 files changed, 3 deletions(-) diff --git a/sys/dev/cxgbe/iw_cxgbe/cm.c b/sys/dev/cxgbe/iw_cxgbe/cm.c index 9f6f5411733c..b83622cc3c65 100644 --- a/sys/dev/cxgbe/iw_cxgbe/cm.c +++ b/sys/dev/cxgbe/iw_cxgbe/cm.c @@ -73,8 +73,6 @@ struct cpl_set_tcb_rpl; #include "iw_cxgbe.h" #include <linux/module.h> #include <linux/workqueue.h> -#include <linux/notifier.h> -#include <linux/inetdevice.h> #include <linux/if_vlan.h> #include <net/netevent.h> #include <rdma/rdma_cm.h> diff --git a/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h b/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h index 5f26eccc1d1b..aa94a40add1e 100644 --- a/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h +++ b/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h @@ -39,7 +39,6 @@ #include <linux/spinlock.h> #include <linux/idr.h> #include <linux/completion.h> -#include <linux/netdevice.h> #include <linux/sched.h> #include <linux/pci.h> #include <linux/dma-mapping.h> _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"