The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=0bbb50ec872d6997a70e4ca55cfba548504410e6
commit 0bbb50ec872d6997a70e4ca55cfba548504410e6 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2021-03-26 16:10:25 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2021-07-18 00:34:59 +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 Reviewed by: np Differential Revision: https://reviews.freebsd.org/D29432 (cherry picked from commit 0a7b99553f5c1e68868e3cbaccb3160eb1a7d1d6) --- 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> _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
