opnsense-src/sys/dev/cxgb
Zhenlei Huang c4da7b7e66 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

(cherry picked from commit aa3860851b9f6a6002d135b1cac7736e0995eedc)
2024-07-15 09:14:32 +02:00
..
common sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
sys sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bin2h.pl Two more $FreeBSD$ stragglers 2023-09-17 08:34:41 -06:00
cxgb_adapter.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_include.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
cxgb_ioctl.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_main.c net: Remove unneeded NULL check for the allocated ifnet 2024-07-15 09:14:32 +02:00
cxgb_offload.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_osdep.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_sge.c sys: Use mbufq_empty instead of comparing mbufq_len against 0 2024-01-18 14:37:29 -08:00
cxgb_t3fw.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
cxgb_t3fw.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3b_protocol_sram.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3b_tp_eeprom.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3c_protocol_sram.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3c_tp_eeprom.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00