opnsense-src/sys/dev/vnic
Zhenlei Huang aa3860851b net: Remove unneeded NULL check for the allocated ifnet
Change 4787572d05 made if_alloc_domain() never fail, then also do the
wrappers if_alloc(), if_alloc_dev(), and if_gethandle().

No functional change intended.

Reviewed by:	kp, imp, glebius, stevek
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45740
2024-06-28 18:16:29 +08:00
..
lmac_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
mrml_bridge.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nic.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nic_main.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nic_reg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nicvf_main.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
nicvf_queues.c vnic: fix compilation of an IPv6 only kernel 2024-02-06 22:47:16 +01:00
nicvf_queues.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
q_struct.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
thunder_bgx.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
thunder_bgx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
thunder_bgx_fdt.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
thunder_bgx_var.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
thunder_mdio.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
thunder_mdio_fdt.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
thunder_mdio_var.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00