Date: Sat, 4 Feb 2023 16:20:19 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ecfb9e4e126f - main - qlxgb: purge EOL release compatibility Message-ID: <202302041620.314GKJPn013438@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ecfb9e4e126f85d46299438538469a650518b87f commit ecfb9e4e126f85d46299438538469a650518b87f Author: Elliott Mitchell <ehem+freebsd@m5p.com> AuthorDate: 2022-06-23 00:53:47 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-02-04 16:13:08 +0000 qlxgb: purge EOL release compatibility Remove code for FreeBSD 7, 8 & 9 and a warning that older versions weren't supported. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/603 Differential Revision: https://reviews.freebsd.org/D35560 --- sys/dev/qlxgb/qla_os.c | 5 ----- sys/dev/qlxgb/qla_os.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/sys/dev/qlxgb/qla_os.c b/sys/dev/qlxgb/qla_os.c index ca5b2ec44a3a..f0c5ee6269bb 100644 --- a/sys/dev/qlxgb/qla_os.c +++ b/sys/dev/qlxgb/qla_os.c @@ -688,11 +688,6 @@ qla_init_ifnet(device_t dev, qla_host_t *ha) ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_MTU; ifp->if_capabilities |= IFCAP_LINKSTATE; -#if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) - ifp->if_timer = 0; - ifp->if_watchdog = NULL; -#endif /* #if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) */ - ifp->if_capenable = ifp->if_capabilities; ifp->if_hdrlen = sizeof(struct ether_vlan_header); diff --git a/sys/dev/qlxgb/qla_os.h b/sys/dev/qlxgb/qla_os.h index fddae501b8b3..43360f108649 100644 --- a/sys/dev/qlxgb/qla_os.h +++ b/sys/dev/qlxgb/qla_os.h @@ -51,10 +51,6 @@ #include <machine/atomic.h> #include <sys/conf.h> -#if __FreeBSD_version < 700112 -#error FreeBSD Version not supported - use version >= 700112 -#endif - #include <net/if.h> #include <net/if_var.h> #include <net/if_arp.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302041620.314GKJPn013438>